Skip to content
This repository has been archived by the owner on Dec 14, 2017. It is now read-only.

Commit

Permalink
backout recent additions to v2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
brockallen committed Aug 10, 2013
1 parent 4ed6aef commit 8d3f412
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 82 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ public void Dispose()

public virtual void Update(UserAccount account)
{
account.LastUpdated = account.UtcNow;
this.userRepository.Update(account);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@
<Compile Include="Authentication\AuthenticationService.cs" />
<Compile Include="Configuration\IFactory.cs" />
<Compile Include="Extensions\ConfigurationExtensions.cs" />
<Compile Include="Models\Role.cs" />
<Compile Include="Repository\EF\DbContextRoleRepository`1.cs" />
<Compile Include="Repository\IRoleRepository.cs" />
<Compile Include="TwoFactorAuthPolicy\AspNetCookieBasedTwoFactorAuthPolicy.cs" />
<Compile Include="TwoFactorAuthPolicy\CookieBasedTwoFactorAuthPolicy.cs" />
<Compile Include="TwoFactorAuthPolicy\ITwoFactorAuthenticationPolicy.cs" />
Expand Down
23 changes: 0 additions & 23 deletions src/BrockAllen.MembershipReboot/Models/Role.cs

This file was deleted.

2 changes: 0 additions & 2 deletions src/BrockAllen.MembershipReboot/Models/UserAccount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ internal protected UserAccount()
public virtual string Email { get; internal set; }

public virtual DateTime Created { get; internal set; }
public virtual DateTime LastUpdated { get; internal set; }
public virtual DateTime PasswordChanged { get; internal set; }
public virtual bool RequiresPasswordReset { get; set; }

Expand Down Expand Up @@ -97,7 +96,6 @@ internal protected virtual void Init(string tenant, string username, string pass
this.Username = username;
this.Email = email;
this.Created = this.UtcNow;
this.LastUpdated = this.Created;
this.HashedPassword = HashPassword(password);
this.PasswordChanged = this.Created;
this.IsAccountVerified = false;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ public DefaultMembershipRebootDatabase(string nameOrConnectionString)
}

public DbSet<UserAccount> Users { get; set; }
public DbSet<Role> Roles { get; set; }
}

public class DefaultUserAccountRepository
Expand All @@ -41,23 +40,4 @@ public DefaultUserAccountRepository(DefaultMembershipRebootDatabase ctx)
{
}
}

public class DefaultRoleRepository
: DbContextRoleRepository<DefaultMembershipRebootDatabase>
{
public DefaultRoleRepository()
: this(SecuritySettings.Instance.ConnectionStringName)
{
}

public DefaultRoleRepository(string name)
: this(new DefaultMembershipRebootDatabase(name))
{
}

public DefaultRoleRepository(DefaultMembershipRebootDatabase ctx)
: base(ctx)
{
}
}
}
11 changes: 0 additions & 11 deletions src/BrockAllen.MembershipReboot/Repository/IRoleRepository.cs

This file was deleted.

0 comments on commit 8d3f412

Please sign in to comment.