diff options
| author | 2016-07-31 14:58:19 +0200 | |
|---|---|---|
| committer | 2016-07-31 14:58:19 +0200 | |
| commit | c1548e732d7472c40473b3d99858059333a05eae (patch) | |
| tree | f956b9f98527cd6acadd7dfefe7c0929e6edfe55 /p/scripts/install.js | |
| parent | a78b3f5e7f19a1f1320fcb12f7c8b450f9a9dba4 (diff) | |
Remove Mozilla Persona login
https://github.com/FreshRSS/FreshRSS/issues/1052
Diffstat (limited to 'p/scripts/install.js')
| -rw-r--r-- | p/scripts/install.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/p/scripts/install.js b/p/scripts/install.js index 9a49e6031..57fc2450a 100644 --- a/p/scripts/install.js +++ b/p/scripts/install.js @@ -24,18 +24,12 @@ function auth_type_change() { var auth_type = document.getElementById('auth_type'); if (auth_type) { var auth_value = auth_type.value, - password_input = document.getElementById('passwordPlain'), - mail_input = document.getElementById('mail_login'); + password_input = document.getElementById('passwordPlain'); if (auth_value === 'form') { password_input.required = true; - mail_input.required = false; - } else if (auth_value === 'persona') { - password_input.required = false; - mail_input.required = true; } else { password_input.required = false; - mail_input.required = false; } } } |
