f28a23cdd8
Otherwise we keep on using it with leading or trailing whitespaces for app tokens and other logic. The reason this doesn't throw an error immediately with local users is that (My)SQL compares strings regardless of their padding by default. So we look up 'uid ' and get the row for the user 'uid'. Other back-ends will lead to a hard error, though, and the user is unable to log out as all request fail. Ref https://stackoverflow.com/a/10495807/2239067 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> |
||
---|---|---|
.. | ||
AppPasswordController.php | ||
AutoCompleteController.php | ||
AvatarController.php | ||
ClientFlowLoginController.php | ||
ClientFlowLoginV2Controller.php | ||
CollaborationResourcesController.php | ||
ContactsMenuController.php | ||
CSRFTokenController.php | ||
CssController.php | ||
GuestAvatarController.php | ||
JsController.php | ||
LoginController.php | ||
LostController.php | ||
NavigationController.php | ||
OCJSController.php | ||
OCSController.php | ||
PreviewController.php | ||
SearchController.php | ||
SetupController.php | ||
SvgController.php | ||
TwoFactorChallengeController.php | ||
UserController.php | ||
WalledGardenController.php | ||
WhatsNewController.php | ||
WipeController.php |