git://git.nikiroo.be
/
nikiroo-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2048e74
)
fix whitelist mode on web lib
author
Niki Roo
<niki@nikiroo.be>
Mon, 11 May 2020 22:18:29 +0000
(
00:18
+0200)
committer
Niki Roo
<niki@nikiroo.be>
Mon, 11 May 2020 22:18:29 +0000
(
00:18
+0200)
src/be/nikiroo/fanfix/library/WebLibraryServer.java
patch
|
blob
|
blame
|
history
diff --git
a/src/be/nikiroo/fanfix/library/WebLibraryServer.java
b/src/be/nikiroo/fanfix/library/WebLibraryServer.java
index e0096fcc590b94963137d1476d9f57caf7398124..a59fa3456d3d294b7614db718eaacadadb2d4415 100644
(file)
--- a/
src/be/nikiroo/fanfix/library/WebLibraryServer.java
+++ b/
src/be/nikiroo/fanfix/library/WebLibraryServer.java
@@
-231,6
+231,10
@@
public class WebLibraryServer implements Runnable {
}
if (login.isSuccess()) {
+ if (!login.isWl()) {
+ whitelist.clear();
+ }
+
// refresh token
session.getCookies().set(new Cookie("token",
login.getToken(), "30; path=/"));