Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
b34ab5f8
Commit
b34ab5f8
authored
May 27, 2022
by
KingRainbow44
Browse files
Fix OAuth Authenticator
parent
52c86afe
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/auth/DefaultAuthenticators.java
View file @
b34ab5f8
...
@@ -215,12 +215,7 @@ public final class DefaultAuthenticators {
...
@@ -215,12 +215,7 @@ public final class DefaultAuthenticators {
request
.
getResponse
().
send
(
"Authentication is not available with the default authentication method."
);
request
.
getResponse
().
send
(
"Authentication is not available with the default authentication method."
);
}
}
@Override
public
void
handleDesktopRedirection
(
AuthenticationRequest
request
)
{
@Override
public
void
handleRedirection
(
AuthenticationRequest
request
,
ClientType
type
)
{
assert
request
.
getResponse
()
!=
null
;
request
.
getResponse
().
send
(
"Authentication is not available with the default authentication method."
);
}
@Override
public
void
handleMobileRedirection
(
AuthenticationRequest
request
)
{
assert
request
.
getResponse
()
!=
null
;
assert
request
.
getResponse
()
!=
null
;
request
.
getResponse
().
send
(
"Authentication is not available with the default authentication method."
);
request
.
getResponse
().
send
(
"Authentication is not available with the default authentication method."
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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