@@ -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
@@ -410,7 +410,7 @@ def auth_login(auth):
410410 if campaign and logged out, go to campaign register page (with next_url if presents)
411411 if next_url and logged in, go to next url
412412 if next_url and logged out, go to cas login page with current request url as service parameter
413- if none, go to `/myprojects ` which is decorated by `@must_be_logged_in`
413+ if none, go to `/my-projects ` which is decorated by `@must_be_logged_in`
414414
415415 :param auth: the auth context
416416 :return: redirects
@@ -437,7 +437,7 @@ def auth_register(auth):
437437 if next_url and logged in, go to next url
438438 if next_url and logged out, go to cas login page with current request url as service parameter
439439 if next_url and logout flag, log user out first and then go to the next_url
440- if none, go to `/myprojects ` which is decorated by `@must_be_logged_in`
440+ if none, go to `/my-projects ` which is decorated by `@must_be_logged_in`
441441
442442 :param auth: the auth context
443443 :return: land, redirect or `auth_logout`
@@ -999,7 +999,7 @@ def resend_confirmation_post(auth):
999999 try :
10001000 send_confirm_email (user , clean_email , renew = True )
10011001 except KeyError :
1002- # already confirmed, redirect to myprojects
1002+ # already confirmed, redirect to my-projects
10031003 status_message = f'This email { clean_email } has already been confirmed.'
10041004 kind = 'warning'
10051005 user .email_last_sent = timezone .now ()
0 commit comments