mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
parent
a2d041ffae
commit
d51f2fecfc
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ public class Oauth2Filter implements Filter {
|
||||||
Base64.decodeBase64(st.nextToken()),
|
Base64.decodeBase64(st.nextToken()),
|
||||||
"UTF-8"
|
"UTF-8"
|
||||||
);
|
);
|
||||||
String[] split = credentials.split(":");
|
String[] split = credentials.split(":",2);
|
||||||
if (split.length == 2) {
|
if (split.length == 2) {
|
||||||
String username = split[0];
|
String username = split[0];
|
||||||
String password = split[1];
|
String password = split[1];
|
||||||
|
|
Loading…
Reference in a new issue