mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-08 06:25:51 +01:00
Add FlashMapSupport to ControllerBase.
This commit is contained in:
@@ -31,6 +31,7 @@ trait IndexControllerBase extends ControllerBase {
|
||||
get("/signin"){
|
||||
val redirect = params.get("redirect")
|
||||
if(redirect.isDefined && redirect.get.startsWith("/")){
|
||||
|
||||
session.setAttribute(Keys.Session.Redirect, redirect.get)
|
||||
}
|
||||
html.signin(loadSystemSettings())
|
||||
|
||||
Reference in New Issue
Block a user