File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -428,7 +428,7 @@ def post(self, token):
428
428
return jsonify ({"message" : "Your password has been updated successfully." }), 200
429
429
430
430
431
- @blp .route ("/refresh" ) # Working
431
+ @blp .route ("/refresh" )
432
432
class TokenRefresh (MethodView ):
433
433
@jwt_required (refresh = True )
434
434
def post (self ):
@@ -437,7 +437,7 @@ def post(self):
437
437
return {"access_token" : new_token }
438
438
439
439
440
- @blp .route ("/logout" ) # Working
440
+ @blp .route ("/logout" )
441
441
class UserLogout (MethodView ):
442
442
@jwt_required ()
443
443
def post (self ):
Original file line number Diff line number Diff line change @@ -58,11 +58,11 @@ def google_callback():
58
58
is_email_verified = data ['verified_email' ] if 'verified_email' in data else False ,
59
59
mfa_enabled = False ,
60
60
password = bcrypt .hashpw (random_string .encode ('utf-8' ), bcrypt .gensalt ()),
61
+ org_name = data ['email' ]
61
62
)
62
63
db .session .add (user )
63
64
db .session .commit ()
64
65
65
- # make them an org - name it with email (they can change it later)
66
66
admins = [user .id ]
67
67
org = OrgModel (
68
68
org_owner = user .id ,
You can’t perform that action at this time.
0 commit comments