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