Skip to content
Snippets Groups Projects
Unverified Commit 5ddb85b2 authored by Bye's avatar Bye Committed by GitHub
Browse files

Fix issue with external basic logins

The alt text for the app icon passes null into htmlspecialchars, which is deprecated.
parent 75ae8e91
Branches
No related tags found
1 merge request!2Fix issue with external basic logins
......@@ -111,7 +111,7 @@ login:
<div id="connection_img">
<img src="<?= get_avatar_url($_SESSION['id']) ?>" alt="<?= htmlspecialchars($user['display_name']) ?>'s avatar" />
<span class="sep">×</span>
<img src="<?= $app['icon'] ?>" alt="<?= htmlspecialchars($user['title']) ?>'s avatar" />
<img src="<?= $app['icon'] ?>" alt="<?= htmlspecialchars($app['title']) ?>" />
</div>
<h1>Sign into <?= htmlspecialchars($app['title']) ?></h1>
<p class="subtitle">Owned by <strong><?= htmlspecialchars( get_display_name($app['owner_id'], put_bcid_in_parenthesis: true) ) ?></strong></p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment