diff options
author | azul <azul@riseup.net> | 2016-08-26 14:31:58 +0000 |
---|---|---|
committer | azul <azul@riseup.net> | 2016-08-26 14:31:58 +0000 |
commit | 92481029074f34342cc35937f3aab94aca7887c7 (patch) | |
tree | d3cdd2b9fd282451c9568af9e164ca9ee44ab0fd /app/models/session.rb | |
parent | 67302ca1986a66a6d278c34216ad33f4c65a018e (diff) | |
parent | e46f318077f061a82ac64c767e869ae12666119a (diff) |
Merge branch 'bugfix/load-issue' into 'develop'
[load] require login_format_validation in session
We moved it into the lib folder so it's not in an autoload path anymore.
So now it needs to be required before being used.
This fixes a load order issue that would cause non-deterministic failures
in CI
See merge request !6
Diffstat (limited to 'app/models/session.rb')
-rw-r--r-- | app/models/session.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/session.rb b/app/models/session.rb index 0d7e10e..21e4dc6 100644 --- a/app/models/session.rb +++ b/app/models/session.rb @@ -1,3 +1,5 @@ +require 'login_format_validation' + class Session < SRP::Session include ActiveModel::Validations include LoginFormatValidation |