mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
Implement federated login; #123
This commit is contained in:
1 parent
6601c188d0
commit
2adf8249bb
35 files changed
+1466
-121
No files matched your search
@@ -327,6 +327,7 @@ impl <C: Clone + Send> super::ConfigProvider<C> for CubeConfig {
|
||||
auth_url: self.settings.server.auth_url.trim_end_matches('/').to_owned(),
|
||||
intercom_url: self.settings.server.intercom_url.trim_end_matches('/').to_owned(),
|
||||
factory_url: self.settings.server.factory_url.trim_end_matches('/').to_owned(),
|
||||
society_url: self.settings.server.society_url.trim_end_matches('/').to_owned(),
|
||||
minimum_version: self.settings.server.min_version as i32,
|
||||
dos_protect: self.settings.server.dos_protection,
|
||||
maintenance_message: self.settings.server.maintenance_message.clone(),
|
||||
|
||||
@@ -105,6 +105,7 @@ pub struct ServerConfig {
|
||||
pub auth_url: String,
|
||||
pub intercom_url: String,
|
||||
pub factory_url: String,
|
||||
pub society_url: String,
|
||||
pub minimum_version: i32,
|
||||
pub dos_protect: bool,
|
||||
pub maintenance_message: Option<String>,
|
||||
|
||||
Reference in new issue
Block a user