summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2018-07-22 03:51:30 -0400
committerMalf Furious <m@lfurio.us>2018-07-22 03:51:30 -0400
commitd75ede4175eac843994a93a913d445c029a44631 (patch)
tree7afd1ce5aa6e4e586a6032c104d9421e30e2e74e
parent380187ee5aadf008c7a71a9015008c155c528ccc (diff)
downloadscrott-d75ede4175eac843994a93a913d445c029a44631.tar.gz
scrott-d75ede4175eac843994a93a913d445c029a44631.zip
Fix bug with login handler
Now reloading current path after successful login, instead of redirecting to app-root.
-rw-r--r--app/model/login.php2
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();
}
/*