提示要为中文
This commit is contained in:
parent
a36d772f37
commit
6612ae357a
|
@ -192,7 +192,7 @@ class UsersService
|
||||||
#raise @current_user.errors.full_message
|
#raise @current_user.errors.full_message
|
||||||
#return @current_user
|
#return @current_user
|
||||||
else
|
else
|
||||||
raise 'wrong password'
|
raise l(:notice_account_wrong_password,:locale => 'zh')
|
||||||
end
|
end
|
||||||
@current_user
|
@current_user
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue