diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-04-10 21:19:21 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-04-10 21:19:21 +0200 |
commit | 2f422b708f75bea87a49eb879ec3e0c3f35c2f9b (patch) | |
tree | 15a022b1b44f72fee2d83cfe6f8355b7334f9d9b /app/controllers/settings | |
parent | 92e19501949bac3825c23087e0aeba3109ea12d0 (diff) | |
parent | 5dd14dfdede5cfd98551f545336e18ad1c705c21 (diff) |
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'app/controllers/settings')
-rw-r--r-- | app/controllers/settings/identity_proofs_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/settings/identity_proofs_controller.rb b/app/controllers/settings/identity_proofs_controller.rb index 8f857fdcc..e22b4d9be 100644 --- a/app/controllers/settings/identity_proofs_controller.rb +++ b/app/controllers/settings/identity_proofs_controller.rb @@ -18,7 +18,7 @@ class Settings::IdentityProofsController < Settings::BaseController provider_username: params[:provider_username] ) - if current_account.username == params[:username] + if current_account.username.casecmp(params[:username]).zero? render layout: 'auth' else flash[:alert] = I18n.t('identity_proofs.errors.wrong_user', proving: params[:username], current: current_account.username) |