Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
monitor-ui
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
xutao.liu
2022-03-29 14:31:48 +0800
Commit
6e5e7d50a7f6b52fb40be232d3545835fd154cc4
2 parents
53411859
72d714fa
Merge branch 'feature/add-footer-div-20220127' into 'master'
修改登录跳转 修改登录跳转 See merge request
!4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
monitor-ui-ctrl/src/main/java/com/ui/interceptor/AuthInterceptor.java
monitor-ui-ctrl/src/main/java/com/ui/interceptor/AuthInterceptor.java
View file @
6e5e7d5
...
...
@@ -32,7 +32,7 @@ public class AuthInterceptor implements HandlerInterceptor {
String
path
=
getPath
(
request
);
//userOperateListener.add(name,request.getRequestURI());//记录用户操作
if
(!
userAuthLocal
.
auth
(
name
,
path
)){
response
.
sendRedirect
(
"/
dashboard/toDashboard
"
);
response
.
sendRedirect
(
"/
user/login
"
);
return
false
;
}
else
{
return
true
;
...
...
Please
register
or
login
to post a comment