You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-08-09 04:22:45 +03:00
Actually verify the CAPTCHA during registration
This commit is contained in:
@@ -112,6 +112,18 @@ impl UrlBuilder {
|
||||
}
|
||||
}
|
||||
|
||||
/// Site public hostname
|
||||
///
|
||||
/// # Panics
|
||||
///
|
||||
/// Panics if the base URL does not have a host
|
||||
#[must_use]
|
||||
pub fn public_hostname(&self) -> &str {
|
||||
self.http_base
|
||||
.host_str()
|
||||
.expect("base URL must have a host")
|
||||
}
|
||||
|
||||
/// HTTP base
|
||||
#[must_use]
|
||||
pub fn http_base(&self) -> Url {
|
||||
|
Reference in New Issue
Block a user