File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ def forgot_password():
9393def confirm ():
9494 token_hash = request .args .get ("token_hash" )
9595 auth_type = request .args .get ("type" )
96- next = request .args .get ("next" , "dashboard " )
96+ next = request .args .get ("next" , "notes.home " )
9797
9898 if token_hash and auth_type :
9999 if auth_type == "recovery" :
@@ -107,7 +107,7 @@ def confirm():
107107@auth .route ("/callback" )
108108def callback ():
109109 code = request .args .get ("code" )
110- next = request .args .get ("next" , "dashboard " )
110+ next = request .args .get ("next" , "notes.home " )
111111
112112 if code :
113113 res = supabase .auth .exchange_code_for_session ({"auth_code" : code })
@@ -118,7 +118,7 @@ def callback():
118118@auth .route ("/verify-token" , methods = ["GET" , "POST" ])
119119def verify_token ():
120120 auth_type = request .args .get ("type" , "email" )
121- next = request .args .get ("next" , "dashboard " )
121+ next = request .args .get ("next" , "notes.home " )
122122 form = VerifyTokenForm ()
123123 if form .validate_on_submit ():
124124 email = form .email .data
You can’t perform that action at this time.
0 commit comments