mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-20 03:31:27 +00:00
adjusted vault config
This commit is contained in:
@@ -87,9 +87,9 @@ class AuthFlowReceiver implements AutoCloseable {
|
||||
|
||||
res.setStatus(HttpServletResponse.SC_MOVED_TEMPORARILY);
|
||||
if (error == null && code != null) {
|
||||
res.setHeader("Location", hubConfig.unlockSuccessUrl);
|
||||
res.setHeader("Location", hubConfig.authSuccessUrl);
|
||||
} else {
|
||||
res.setHeader("Location", hubConfig.unlockErrorUrl);
|
||||
res.setHeader("Location", hubConfig.authErrorUrl);
|
||||
}
|
||||
|
||||
callback.add(new Callback(error, code, state));
|
||||
|
||||
@@ -7,7 +7,7 @@ public class HubConfig {
|
||||
public String authEndpoint;
|
||||
public String tokenEndpoint;
|
||||
public String deviceRegistrationUrl;
|
||||
public String unlockSuccessUrl;
|
||||
public String unlockErrorUrl;
|
||||
public String authSuccessUrl;
|
||||
public String authErrorUrl;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user