Changed main currency to JPY

This commit is contained in:
2017-10-06 05:53:49 +02:00
parent 03c79e2932
commit c0d57e51c9
10 changed files with 81 additions and 81 deletions

View File

@ -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

View File

@ -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)
})
}

View File

@ -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)
})
}