Basic login

This commit is contained in:
Martin Lensment 2014-09-25 13:12:44 +03:00
parent ba93ac8162
commit c997f2da5d
18 changed files with 428 additions and 3 deletions

View file

@ -1,4 +1,7 @@
class User < ActiveRecord::Base
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable and :omniauthable
devise :trackable, :timeoutable
# TODO Foreign user will get email with activation link,email,temp-password.
# After activisation, system should require to change temp password.
# TODO Estonian id validation