viewtopic.php?f=69&t=23656
PROBLEM
I have figured out an issue with security.login when creating a new workspace.
For version control, I create a new workspace for every new version of the project I'm working on. That way, if an issue occurs in between versions it's easier to rollback or catch the problem that manifested.
Recently, I implemented a login screen. However, creating a new workspace and importing this version with a login screen resulted in not being able to login. This is strange, because I was able to login just fine in the original workspace.
I tried;
* Stepping through the debugger
* Doublechecking the login credentials within the SQL Database
* Spamming login to see if it'll magically fix itself
* Waiting a long time to see if it'll magically fix itself
... None of these worked.
SOLUTION
However, opening up the 'User and group security' page that showcases the defined user groups DID FIX IT.
WHY?
I'm... not sure why exactly. What I'm assuming is going on is that despite security.login getting correct user credentials, since the User Group isn't getting initialized it's internally failing. Opening up that 'User and group security' page seems to wake up the projects initialization to see that the User groups are infact defined.
Despite me finding this soft-fix, I'd say it's worth it to fix this officially as this could be a catastrophic bug if there wasn't a way around it. Since not being able to login would make the project unusable.