Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
claravox committed Nov 30, 2023
1 parent 507a2c0 commit fe2ff35
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions user/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
current_app as app,
flash,
g,
Markup,
redirect,
render_template,
request,
Response,
session,
url_for,
Markup
url_for
)
from irods.exception import CAT_INVALID_AUTHENTICATION, CAT_INVALID_USER, iRODSException, PAM_AUTH_PASSWORD_FAILED
from irods.session import iRODSSession
Expand Down Expand Up @@ -107,9 +107,9 @@ def login() -> Response:
except CAT_INVALID_USER:
first_message = 'Your user is not part of the Yoda system (yet).'
website_message = (f'Go to <a href="{app.config.get("LOGIN_HELP_CONTACT_WEBSITE")}" '
'class="alert-link">this</a> page to learn about gaining access.')
'class="alert-link">this</a> page to learn about gaining access.')
email_message = (f'Contact <a href="mailto:{app.config.get("LOGIN_HELP_CONTACT_EMAIL")}" '
'class="alert-link">this</a> email for help getting access.')
'class="alert-link">this</a> email for help getting access.')

if (app.config.get("LOGIN_HELP_CONTACT_WEBSITE") and app.config.get("LOGIN_HELP_CONTACT_EMAIL")):
message = Markup(
Expand Down

0 comments on commit fe2ff35

Please sign in to comment.