diff options
author | Kevin Chabowski <kevin@kch42.de> | 2013-08-30 11:36:00 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2013-08-30 11:36:00 +0200 |
commit | 8e7883db8b21fdb2190bfcaafa7f3ee6788eb290 (patch) | |
tree | 14a54a0a0f6c6cac279022b37151654bebff4e80 /model | |
parent | 231ad8195ca2dde0bf560a188614bcdcc26398cc (diff) | |
download | mailremind-8e7883db8b21fdb2190bfcaafa7f3ee6788eb290.tar.gz mailremind-8e7883db8b21fdb2190bfcaafa7f3ee6788eb290.tar.bz2 mailremind-8e7883db8b21fdb2190bfcaafa7f3ee6788eb290.zip |
Fixed *User.PWHash
Diffstat (limited to 'model')
-rw-r--r-- | model/mysql/users.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/model/mysql/users.go b/model/mysql/users.go index f07f472..017d34f 100644 --- a/model/mysql/users.go +++ b/model/mysql/users.go @@ -64,7 +64,7 @@ func (con *MySQLDBCon) UserByMail(email string) (model.User, error) { func (u *User) ID() model.DBID { return u.id } func (u *User) Email() string { return u.email } -func (u *User) PWHash() []byte { return []byte(u.PWHash()) } +func (u *User) PWHash() []byte { return []byte(u.passwd) } func (u *User) Active() bool { return u.active } func (u *User) ActivationCode() string { return u.acCode } |