diff options
author | Sheogorath | 2020-02-25 10:58:10 +0100 |
---|---|---|
committer | Sheogorath | 2020-03-21 16:56:09 +0100 |
commit | d389f45818b39e95fb22d3e7d06f7ba061d6f34a (patch) | |
tree | 7e7a14fc8c6b2f1ab6f57b11466d4de7f8068dae /lib/models/revision.js | |
parent | 840109b129647476af8c2cd2575b5911ec16c0dd (diff) |
Fix broken redirect on login
This patch fixes the currently broken redirect on login when people try
to access a site they have no access to, they are redirected to the main
page to log in. After a successful login they should be redirected to
the original note, but instead are redirect to the index page again.
This aptch fixes the typo that causes the behavior and brings people
back to the note they edited.
Thanks to @clvs7-gh on Github[1], who submitted the patch via email.
On their behalf I hereby submit the change.
[1]: https://github.com/clvs7-gh
Note: I had to ajust this patch to work properly.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions