commit
c7e464ddf2
1 changed files with 2 additions and 2 deletions
|
@ -341,7 +341,7 @@ def confirm_repo_email():
|
|||
|
||||
try:
|
||||
record = model.repository.confirm_email_authorization_for_repo(code)
|
||||
except DataModelException as ex:
|
||||
except model.DataModelException as ex:
|
||||
return render_page_template('confirmerror.html', error_message=ex.message)
|
||||
|
||||
message = """
|
||||
|
@ -363,7 +363,7 @@ def confirm_email():
|
|||
|
||||
try:
|
||||
user, new_email, old_email = model.user.confirm_user_email(code)
|
||||
except DataModelException as ex:
|
||||
except model.DataModelException as ex:
|
||||
return render_page_template('confirmerror.html', error_message=ex.message)
|
||||
|
||||
if new_email:
|
||||
|
|
Reference in a new issue