Commit 75f91743d2138ef84b6add6c766e9471aa4deebc
Exists in
production
Merge branch 'staging' into production
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
lib/noosfero/api/session.rb
... | ... | @@ -31,7 +31,7 @@ module Noosfero |
31 | 31 | post "/login" do |
32 | 32 | begin |
33 | 33 | user ||= User.authenticate(params[:login], params[:password], environment) |
34 | - rescue NoosferoExceptions::UserNotActivated => e | |
34 | + rescue User::UserNotActivated => e | |
35 | 35 | render_api_error!(e.message, 401) |
36 | 36 | end |
37 | 37 | ... | ... |
plugins/juventude