Documentation
¶
Index ¶
- Constants
- func AutoLogin(c *context.Context) (bool, error)
- func Login(c *context.Context)
- func LoginPost(c *context.Context, f form.SignIn)
- func LoginTwoFactor(c *context.Context)
- func LoginTwoFactorPost(c *context.Context)
- func LoginTwoFactorRecoveryCode(c *context.Context)
- func LoginTwoFactorRecoveryCodePost(c *context.Context)
- func Settings(c *context.Context)
- func SettingsAuthPassword(c *context.Context)
- func SettingsAuthPasswordPost(c *context.Context, f form.Empty)
- func SettingsClient(c *context.Context)
- func SettingsPassword(c *context.Context)
- func SettingsPasswordPost(c *context.Context, f form.ChangePassword)
- func SettingsPost(c *context.Context, f form.UpdateProfile)
- func SignOut(c *context.Context)
- func SignUp(c *context.Context)
- func SignUpPost(c *context.Context, cpt *captcha.Captcha, f form.Register)
Constants ¶
View Source
const ( LOGIN = "user/auth/login" TWO_FACTOR = "user/auth/two_factor" TWO_FACTOR_RECOVERY_CODE = "user/auth/two_factor_recovery_code" SIGNUP = "user/auth/signup" ACTIVATE = "user/auth/activate" FORGOT_PASSWORD = "user/auth/forgot_passwd" RESET_PASSWORD = "user/auth/reset_passwd" )
View Source
const ( SETTINGS_PROFILE = "user/settings/profile" SETTINGS_AVATAR = "user/settings/avatar" SETTINGS_AUTHPASSWORD = "user/settings/auth_password" SETTINGS_PASSWORD = "user/settings/password" SETTINGS_EMAILS = "user/settings/email" SETTINGS_DELETE = "user/settings/delete" SETTINGS_CLIENT = "user/settings/client" )
Variables ¶
This section is empty.
Functions ¶
func LoginTwoFactor ¶
func LoginTwoFactorPost ¶
func SettingsAuthPassword ¶
func SettingsClient ¶
func SettingsPassword ¶
func SettingsPasswordPost ¶
func SettingsPasswordPost(c *context.Context, f form.ChangePassword)
func SettingsPost ¶
func SettingsPost(c *context.Context, f form.UpdateProfile)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.