Commit 3a009c61f7fb6afb79ef569a5d08a5164fb9a2ed
1 parent
b4ddc3e8af
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 3 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/session/SessionProvider.java
View file @
3a009c6
| ... | ... | @@ -107,8 +107,9 @@ |
| 107 | 107 | |
| 108 | 108 | if (!checkLicence()) |
| 109 | 109 | { |
| 110 | - System.out.println("licence过期"); | |
| 111 | - return null; | |
| 110 | + LoginContext loginContext = new LoginContext(); | |
| 111 | + loginContext.setErrormsg(" License expired!"); | |
| 112 | + return loginContext; | |
| 112 | 113 | } |
| 113 | 114 | |
| 114 | 115 | ISessionProvider iSessionProvider = iSessionProviderMap.get(currentStrateger); |