Fixes account creation and removal

* NpgsqlMembershipProvider.cs: Fixes the latest commit concerning
  account creation and removal

* YavscController.cs: TODO ...
This commit is contained in:
Paul Schneider 2015-11-03 16:06:28 +01:00
commit c90b54d642
4 changed files with 41 additions and 13 deletions

View file

@ -36,6 +36,7 @@ namespace Yavsc.ApiControllers
public void AllowCookies (Auth model)
{
// TODO check Auth when existing
if (model.Id != null) {
ProfileBase pr = ProfileBase.Create (model.Id);
pr.SetPropertyValue ("allowcookies", true);