mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 15:03:18 +00:00
DS-1065: Login CHooser will place plank div prior to login form (committed to both trunk and branch)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6855 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -146,7 +146,9 @@ public class LoginChooser extends AbstractDSpaceTransformer implements
|
|||||||
String characters = (String) session
|
String characters = (String) session
|
||||||
.getAttribute(AuthenticationUtil.REQUEST_INTERRUPTED_CHARACTERS);
|
.getAttribute(AuthenticationUtil.REQUEST_INTERRUPTED_CHARACTERS);
|
||||||
|
|
||||||
if (header != null || message != null || characters != null) {
|
if ( (header != null && header.trim().length() > 0) ||
|
||||||
|
(message != null && message.trim().length() > 0) ||
|
||||||
|
(characters != null && characters.trim().length() > 0)) {
|
||||||
Division reason = body.addDivision("login-reason");
|
Division reason = body.addDivision("login-reason");
|
||||||
|
|
||||||
if (header != null)
|
if (header != null)
|
||||||
|
Reference in New Issue
Block a user