mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fixed oauth login redirect when using app sub url
This commit is contained in:
parent
4cc8a9bd18
commit
19c70a126f
@ -3,7 +3,6 @@ app_mode = development
|
||||
[server]
|
||||
router_logging = false
|
||||
static_root_path = grafana/src
|
||||
root_url = %(protocol)s://%(domain)s:%(http_port)s/
|
||||
|
||||
[oauth]
|
||||
enabled = true
|
||||
|
@ -76,5 +76,5 @@ func OAuthLogin(ctx *middleware.Context) {
|
||||
// login
|
||||
loginUserWithAccount(userQuery.Result, ctx)
|
||||
|
||||
ctx.Redirect("/")
|
||||
ctx.Redirect(setting.AppSubUrl + "/")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user