mirror of
https://github.com/simple-login/app.git
synced 2024-11-17 22:21:38 +08:00
Format
This commit is contained in:
parent
d6df5e0ea0
commit
c5b0f5304e
1 changed files with 4 additions and 4 deletions
|
@ -168,7 +168,7 @@ def auth_activate():
|
||||||
|
|
||||||
|
|
||||||
@api_bp.route("/auth/reactivate", methods=["POST"])
|
@api_bp.route("/auth/reactivate", methods=["POST"])
|
||||||
@limiter.limit('10/minute')
|
@limiter.limit("10/minute")
|
||||||
def auth_reactivate():
|
def auth_reactivate():
|
||||||
"""
|
"""
|
||||||
User asks for another activation code
|
User asks for another activation code
|
||||||
|
@ -210,7 +210,7 @@ def auth_reactivate():
|
||||||
|
|
||||||
|
|
||||||
@api_bp.route("/auth/facebook", methods=["POST"])
|
@api_bp.route("/auth/facebook", methods=["POST"])
|
||||||
@limiter.limit('10/minute')
|
@limiter.limit("10/minute")
|
||||||
def auth_facebook():
|
def auth_facebook():
|
||||||
"""
|
"""
|
||||||
Authenticate user with Facebook
|
Authenticate user with Facebook
|
||||||
|
@ -261,7 +261,7 @@ def auth_facebook():
|
||||||
|
|
||||||
|
|
||||||
@api_bp.route("/auth/google", methods=["POST"])
|
@api_bp.route("/auth/google", methods=["POST"])
|
||||||
@limiter.limit('10/minute')
|
@limiter.limit("10/minute")
|
||||||
def auth_google():
|
def auth_google():
|
||||||
"""
|
"""
|
||||||
Authenticate user with Google
|
Authenticate user with Google
|
||||||
|
@ -338,7 +338,7 @@ def auth_payload(user, device) -> dict:
|
||||||
|
|
||||||
|
|
||||||
@api_bp.route("/auth/forgot_password", methods=["POST"])
|
@api_bp.route("/auth/forgot_password", methods=["POST"])
|
||||||
@limiter.limit('10/minute')
|
@limiter.limit("10/minute")
|
||||||
def forgot_password():
|
def forgot_password():
|
||||||
"""
|
"""
|
||||||
User forgot password
|
User forgot password
|
||||||
|
|
Loading…
Reference in a new issue