@@ -83,7 +83,7 @@ def _reset_password_get(auth, uid=None, token=None, institutional=False):
8383 }
8484 raise HTTPError (http_status .HTTP_400_BAD_REQUEST , data = error_data )
8585
86- # override routes.py login_url to redirect to myprojects
86+ # override routes.py login_url to redirect to my-projects
8787 service_url = web_url_for ('my_projects' , _absolute = True )
8888
8989 return {
@@ -174,7 +174,7 @@ def forgot_password_get(auth):
174174 if auth .logged_in :
175175 return auth_logout (redirect_url = request .url )
176176
177- #overriding the routes.py sign in url to redirect to the myprojects after login
177+ #overriding the routes.py sign in url to redirect to the my-projects after login
178178 context = {}
179179 context ['login_url' ] = web_url_for ('my_projects' , _absolute = True )
180180
@@ -408,7 +408,7 @@ def auth_login(auth):
408408 if campaign and logged out, go to campaign register page (with next_url if presents)
409409 if next_url and logged in, go to next url
410410 if next_url and logged out, go to cas login page with current request url as service parameter
411- if none, go to `/myprojects ` which is decorated by `@must_be_logged_in`
411+ if none, go to `/my-projects ` which is decorated by `@must_be_logged_in`
412412
413413 :param auth: the auth context
414414 :return: redirects
@@ -435,7 +435,7 @@ def auth_register(auth):
435435 if next_url and logged in, go to next url
436436 if next_url and logged out, go to cas login page with current request url as service parameter
437437 if next_url and logout flag, log user out first and then go to the next_url
438- if none, go to `/myprojects ` which is decorated by `@must_be_logged_in`
438+ if none, go to `/my-projects ` which is decorated by `@must_be_logged_in`
439439
440440 :param auth: the auth context
441441 :return: land, redirect or `auth_logout`
@@ -995,7 +995,7 @@ def resend_confirmation_post(auth):
995995 try :
996996 send_confirm_email (user , clean_email , renew = True )
997997 except KeyError :
998- # already confirmed, redirect to myprojects
998+ # already confirmed, redirect to my-projects
999999 status_message = f'This email { clean_email } has already been confirmed.'
10001000 kind = 'warning'
10011001 user .email_last_sent = timezone .now ()
0 commit comments