diff --git a/app/models/user.rb b/app/models/user.rb index eddc6bb2b..718e20995 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -43,7 +43,7 @@ def minor end def insufficient_credit - provider == 'banana_oauth2' and credit < -5 + provider == 'amber_oauth2' and credit < -5 end def treasurer?