Commit bcf7c919 authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Adds double check before showing the sign up view.

parent 2d35ff14
......@@ -126,7 +126,7 @@ class LoginPresenter @Inject constructor(
}
private fun setupUserRegistrationView() {
if (settings.isRegistrationEnabledForNewUsers()) {
if (settings.isRegistrationEnabledForNewUsers() && settings.isLoginFormEnabled()) {
view.showSignUpView()
view.setupSignUpView()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment