Refactor user model
This commit is contained in:
parent
e015afed1d
commit
6c6ed3b0b2
@ -28,6 +28,6 @@ class User < ActiveRecord::Base
|
|||||||
end
|
end
|
||||||
|
|
||||||
def bcrypt(string)
|
def bcrypt(string)
|
||||||
return Password.create(string)
|
Password.create(string)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user