Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Matúš Valko
Online Gaming Management System
Commits
79e5b894
Commit
79e5b894
authored
May 20, 2022
by
Marek Kadlečík
Browse files
Fixed @author annotation and added sessionScope referencing in jsp
parent
344e3805
Pipeline
#141930
passed with stage
in 1 minute and 25 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
gaming-spring-mvc/src/main/java/cz/muni/fi/pa165/mvc/controllers/LoginController.java
View file @
79e5b894
...
...
@@ -19,7 +19,7 @@ import javax.servlet.http.HttpSession;
import
javax.validation.Valid
;
/**
* @author
Jan Hassman
* @author
Marek Kadlečík
*/
@Controller
@RequestMapping
(
"/security"
)
...
...
gaming-spring-mvc/src/main/webapp/WEB-INF/tags/pagetemplate.tag
View file @
79e5b894
...
...
@@ -56,7 +56,7 @@
</ul>
</li>
<li><my:a
href=
"/security/login"
><f:message
key=
"navigation.login"
/></my:a></li>
<c:if
test=
"${not empty authenticatedUser}"
>
<c:if
test=
"${not empty
sessionScope.
authenticatedUser}"
>
<li><my:a
href=
"/security/logout"
><f:message
key=
"navigation.logout"
/></my:a></li>
</c:if>
</ul>
...
...
@@ -74,13 +74,13 @@
</c:if>
<!-- authenticated user info -->
<c:if
test=
"${not empty authenticatedUser}"
>
<c:if
test=
"${not empty
sessionScope.
authenticatedUser}"
>
<div
class=
"row"
>
<div
class=
"col-xs-6 col-sm-8 col-md-9 col-lg-10"
></div>
<div
class=
"col-xs-6 col-sm-4 col-md-3 col-lg-2"
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-body"
>
<c:out
value=
"${authenticatedUser.
getN
ame
()
}"
/>
<c:out
value=
"${
sessionScope.
authenticatedUser.
n
ame}"
/>
</div>
</div>
</div>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment