Feat: enable 2FA / password management

This commit is contained in:
HFO4
2020-02-20 12:42:38 +08:00
parent 58d8695c53
commit 80268e33bf
8 changed files with 171 additions and 4 deletions

View File

@@ -66,7 +66,7 @@ func NewLoginRequest() (*LoginPage, error) {
}
func getCallbackURL() string {
return "https://drive.aoaoao.me/Callback/QQ"
//return "https://drive.aoaoao.me/Callback/QQ"
// 生成回调地址
gateway, _ := url.Parse("/#/login/qq")
callback := model.GetSiteURL().ResolveReference(gateway).String()