[Bps-public-commit] rt-authen-oauth2 branch, master, updated. ba84b96fb6e0b59151e5772bbcab30fa5a3de93a
? sunnavy
sunnavy at bestpractical.com
Wed Mar 20 18:57:06 EDT 2019
The branch, master has been updated
via ba84b96fb6e0b59151e5772bbcab30fa5a3de93a (commit)
from 9834b0aa457c30c27303ff99ae749c7ea725d5ec (commit)
Summary of changes:
html/Callbacks/OAuth/Elements/Login/Default | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit ba84b96fb6e0b59151e5772bbcab30fa5a3de93a
Author: sunnavy <sunnavy at bestpractical.com>
Date: Thu Mar 21 06:56:48 2019 +0800
Fix image src url for non-empty web path
diff --git a/html/Callbacks/OAuth/Elements/Login/Default b/html/Callbacks/OAuth/Elements/Login/Default
index 16edc4d..d0904f0 100644
--- a/html/Callbacks/OAuth/Elements/Login/Default
+++ b/html/Callbacks/OAuth/Elements/Login/Default
@@ -4,5 +4,6 @@ return unless RT->Config->Get('EnableOAuth2');
<div class="button-row">
% my $next_state = $session{NextPage}->{$ARGS{next} || ''};
% $next_state = $next_state->{url} if ref $next_state;
-<span class="input"><a href="<%RT->Config->Get('WebPath')%>/NoAuth/OAuth<% $next_state ? "?next=$next_state" : "" %>"><img src="<% RT::Authen::OAuth2::IDPLoginButtonImage() %>" alt="<% loc('Log in using OAuth 2') %>" /></a></span>
+<span class="input"><a
+href="<%RT->Config->Get('WebPath')%>/NoAuth/OAuth<% $next_state ? "?next=$next_state" : "" %>"><img src="<% RT->Config->Get('WebPath') . RT::Authen::OAuth2::IDPLoginButtonImage() %>" alt="<% loc('Log in using OAuth 2') %>" /></a></span>
</div>
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list