"time"
"github.com/dchest/passwordreset"
- "immae.eu/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Front/db"
+ "git.immae.eu/Cryptoportfolio/Front.git/db"
)
var PASSWORD_RESET_SECRET []byte
}
}
+ if MAIL_CONFIG.IsEnabled {
+ err = SendResetPasswordMail(q.In.Email, token)
+ if err != nil {
+ return nil, NewInternalError(err)
+ }
+ }
+
return nil, nil
}