Changed main currency to JPY
This commit is contained in:
@ -3,6 +3,8 @@ package auth
|
||||
import "github.com/aerogo/aero"
|
||||
import "github.com/animenotifier/notify.moe/utils"
|
||||
|
||||
const newUserStartRoute = "/settings"
|
||||
|
||||
// Install ...
|
||||
func Install(app *aero.Application) {
|
||||
// Google
|
||||
|
@ -170,7 +170,7 @@ func InstallFacebookAuth(app *aero.Application) {
|
||||
// Log
|
||||
authLog.Info("Registered new user via Facebook", user.ID, user.Nick, ctx.RealIP(), user.Email, user.RealName())
|
||||
|
||||
// Redirect to frontpage
|
||||
return ctx.Redirect("/")
|
||||
// Redirect to settings
|
||||
return ctx.Redirect(newUserStartRoute)
|
||||
})
|
||||
}
|
||||
|
@ -181,6 +181,6 @@ func InstallGoogleAuth(app *aero.Application) {
|
||||
authLog.Info("Registered new user via Google", user.ID, user.Nick, ctx.RealIP(), user.Email, user.RealName())
|
||||
|
||||
// Redirect to frontpage
|
||||
return ctx.Redirect("/")
|
||||
return ctx.Redirect(newUserStartRoute)
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user