mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 13:16:56 +00:00
chore: fix up
This commit is contained in:
1 parent
b9b3a466f4
commit
0c333c9a05
5 files changed
+19
-30
No files matched your search
@@ -39,10 +39,7 @@ pub(crate) async fn authorize(
|
||||
}
|
||||
|
||||
// Redirect to the login page if no token or token not known.
|
||||
let hostname = services
|
||||
.config
|
||||
.server_name
|
||||
.host();
|
||||
let hostname = services.config.server_name.host();
|
||||
match oauth.authorization_header() {
|
||||
| None => {
|
||||
return Ok(oidc_login_form(hostname, &query));
|
||||
|
||||
Reference in new issue
Block a user