Fix users

Added Origins & active tool offset
This commit is contained in:
Lucio Maranta
2019-02-20 17:02:29 +01:00
parent d82bf59cfb
commit c4761926f4
6 changed files with 40 additions and 10 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ namespace Step.Database.Controllers
return dbCtx.Users.Where(u => u.UserId == id).FirstOrDefault();
}
private UserModel FindByUsername(string username)
public UserModel FindByUsername(string username)
{
// Find user by Id with Role object included
return dbCtx.Users.Where(u => u.Username == username).FirstOrDefault();