mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 20:39:24 +00:00
Simplify authentication logic
matrix.org now supports MAS so we don't need the web registration helper anymore.
This commit is contained in:
@@ -210,8 +210,10 @@ final class AppSettings {
|
||||
contacts: [supportEmailAddress],
|
||||
staticRegistrations: oidcStaticRegistrations.mapKeys { $0.absoluteString })
|
||||
|
||||
/// A temporary hack to allow registration on matrix.org until MAS is deployed.
|
||||
let webRegistrationEnabled = true
|
||||
/// Whether or not the Create Account button is shown on the start screen.
|
||||
///
|
||||
/// **Note:** Setting this to false doesn't prevent someone from creating an account when the selected homeserver's MAS allows registration.
|
||||
let showCreateAccountButton = true
|
||||
|
||||
// MARK: - Notifications
|
||||
|
||||
|
||||
Reference in New Issue
Block a user