summaryrefslogtreecommitdiffstats
path: root/relogin.cgi
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-07-05 20:43:18 +0200
committerDylan William Hardison <dylan@hardison.net>2017-07-07 00:19:20 +0200
commit37722eca39874bb6abdcd120e3e458bd62dea62b (patch)
tree57a9a9970c00ec77baecab7e154ef7dfcef863fe /relogin.cgi
parenta6f98de0d4e842351222b0173a1fff151da8738e (diff)
downloadbugzilla-37722eca39874bb6abdcd120e3e458bd62dea62b.tar.gz
bugzilla-37722eca39874bb6abdcd120e3e458bd62dea62b.tar.xz
Bug 1377933 - Remove trailing whitespace from all perl files
Diffstat (limited to 'relogin.cgi')
-rwxr-xr-xrelogin.cgi6
1 files changed, 3 insertions, 3 deletions
diff --git a/relogin.cgi b/relogin.cgi
index a66c5d28d..e1e1a897e 100755
--- a/relogin.cgi
+++ b/relogin.cgi
@@ -134,7 +134,7 @@ elsif ($action eq 'begin-sudo') {
ThrowUserError('sudo_in_progress', { target => $user->login });
}
- # Did the user actually go trough the 'sudo-prepare' action? Do some
+ # Did the user actually go trough the 'sudo-prepare' action? Do some
# checks on the token the action should have left.
my ($token_user, $token_timestamp, $token_data) = Bugzilla::Token::GetTokenData($token);
unless (defined($token_user)
@@ -142,7 +142,7 @@ elsif ($action eq 'begin-sudo') {
&& ($token_user == $user->id)
&& ($token_data eq 'sudo_prepared'))
{
- ThrowUserError('sudo_preparation_required',
+ ThrowUserError('sudo_preparation_required',
{ target_login => $target_login, reason => $reason });
}
delete_token($cgi->param('token'));
@@ -210,7 +210,7 @@ elsif ($action eq 'end-sudo') {
delete_token($token);
# NOTE: If you want to log the end of an sudo session, so it here.
-
+
$vars->{'message'} = 'sudo_ended';
$target = 'global/message.html.tmpl';
}