Skip to content
Snippets Groups Projects
Commit 4e3a49a7 authored by Jared Hancock's avatar Jared Hancock
Browse files

Couple small typos

parent f6c33f7e
Branches
Tags
No related merge requests found
...@@ -448,7 +448,7 @@ abstract class UserAuthenticationBackend extends AuthenticationBackend { ...@@ -448,7 +448,7 @@ abstract class UserAuthenticationBackend extends AuthenticationBackend {
} }
function getAllowedBackends($userid) { function getAllowedBackends($userid) {
$backends = array('authlink'); $backends = array('authtoken');
$sql = 'SELECT A1.backend FROM '.USER_ACCOUNT_TABLE $sql = 'SELECT A1.backend FROM '.USER_ACCOUNT_TABLE
.' A1 INNER JOIN '.USER_EMAIL_TABLE.' A2 ON (A2.user_id = A1.user_id)' .' A1 INNER JOIN '.USER_EMAIL_TABLE.' A2 ON (A2.user_id = A1.user_id)'
.' WHERE backend IS NOT NULL ' .' WHERE backend IS NOT NULL '
...@@ -826,7 +826,6 @@ class AuthTokenAuthentication extends UserAuthenticationBackend { ...@@ -826,7 +826,6 @@ class AuthTokenAuthentication extends UserAuthenticationBackend {
return $user; return $user;
} }
protected function getAuthKey($user) { protected function getAuthKey($user) {
if (!$this->supportsAuthentication() || !$user) if (!$this->supportsAuthentication() || !$user)
......
...@@ -28,7 +28,7 @@ link will be emailed to you.</p> ...@@ -28,7 +28,7 @@ link will be emailed to you.</p>
<div style="display:table-cell;padding-left: 2em;padding-right:90px;"> <div style="display:table-cell;padding-left: 2em;padding-right:90px;">
<?php if ($cfg && $cfg->getClientRegistrationMode() !== 'disabled') { ?> <?php if ($cfg && $cfg->getClientRegistrationMode() !== 'disabled') { ?>
Have an account with us? Have an account with us?
<a href="login.php?do=create">Sign In</a> <?php <a href="account.php?do=create">Sign In</a> <?php
if ($cfg->isClientRegistrationEnabled()) { ?> if ($cfg->isClientRegistrationEnabled()) { ?>
or <a href="login.php?do=create">register for an account</a> <?php or <a href="login.php?do=create">register for an account</a> <?php
} ?> to access all your tickets. } ?> to access all your tickets.
......
...@@ -14,8 +14,8 @@ if ($thisclient && $thisclient->isGuest() ...@@ -14,8 +14,8 @@ if ($thisclient && $thisclient->isGuest()
<div id="msg_info"> <div id="msg_info">
<i class="icon-compass icon-2x pull-left"></i> <i class="icon-compass icon-2x pull-left"></i>
<strong>Looking for your other tickets?</strong></br> <strong>Looking for your other tickets?</strong></br>
<a href="account.php?do=create">Register for an account</a> <a href="login.php" style="text-decoration:underline">Sign in</a> or
or <a href="login.php">sign in</a> <a href="account.php?do=create" style="text-decoration:underline">register for an account</a>
for the best experience on our help desk.</div> for the best experience on our help desk.</div>
<?php } ?> <?php } ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment