Login fixes (#3555)

* Don't redirect /logout
* Improve login page styling on mobile
This commit is contained in:
WithoutPants
2023-03-20 09:42:48 +11:00
committed by GitHub
parent 88b3b87f01
commit 2b9f573b30
3 changed files with 21 additions and 3 deletions

View File

@@ -135,7 +135,7 @@ func Start() error {
// session handlers
r.Post(loginEndPoint, handleLogin(loginUIBox))
r.Get("/logout", handleLogout(loginUIBox))
r.Get(logoutEndPoint, handleLogout(loginUIBox))
r.Get(loginEndPoint, getLoginHandler(loginUIBox))