diff options
author | Malf Furious <m@lfurio.us> | 2018-07-22 03:51:30 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2018-07-22 03:51:30 -0400 |
commit | d75ede4175eac843994a93a913d445c029a44631 (patch) | |
tree | 7afd1ce5aa6e4e586a6032c104d9421e30e2e74e /app | |
parent | 380187ee5aadf008c7a71a9015008c155c528ccc (diff) | |
download | scrott-d75ede4175eac843994a93a913d445c029a44631.tar.gz scrott-d75ede4175eac843994a93a913d445c029a44631.zip |
Fix bug with login handler
Now reloading current path after successful login, instead of
redirecting to app-root.
Diffstat (limited to 'app')
-rw-r--r-- | app/model/login.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/model/login.php b/app/model/login.php index af4a5b3..6358e12 100644 --- a/app/model/login.php +++ b/app/model/login.php @@ -36,7 +36,7 @@ if (isAction("login")) } user::setCurrent($user); - location("/"); + location(); } /* |