Fixed comment in auth
This commit is contained in:
parent
75dd2a6990
commit
318e4bcdce
@ -158,7 +158,7 @@ func InstallFacebookAuth(app *aero.Application) {
|
|||||||
// Log
|
// Log
|
||||||
authLog.Info("Registered new user via Facebook", user.ID, user.Nick, ctx.RealIP(), user.Email, user.RealName())
|
authLog.Info("Registered new user via Facebook", user.ID, user.Nick, ctx.RealIP(), user.Email, user.RealName())
|
||||||
|
|
||||||
// Redirect to settings
|
// Redirect to starting page for new users
|
||||||
return ctx.Redirect(newUserStartRoute)
|
return ctx.Redirect(newUserStartRoute)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -168,7 +168,7 @@ func InstallGoogleAuth(app *aero.Application) {
|
|||||||
// Log
|
// Log
|
||||||
authLog.Info("Registered new user via Google", user.ID, user.Nick, ctx.RealIP(), user.Email, user.RealName())
|
authLog.Info("Registered new user via Google", user.ID, user.Nick, ctx.RealIP(), user.Email, user.RealName())
|
||||||
|
|
||||||
// Redirect to frontpage
|
// Redirect to starting page for new users
|
||||||
return ctx.Redirect(newUserStartRoute)
|
return ctx.Redirect(newUserStartRoute)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user