summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorazul <azul@riseup.net>2016-08-26 14:31:58 +0000
committerazul <azul@riseup.net>2016-08-26 14:31:58 +0000
commit92481029074f34342cc35937f3aab94aca7887c7 (patch)
treed3cdd2b9fd282451c9568af9e164ca9ee44ab0fd
parent67302ca1986a66a6d278c34216ad33f4c65a018e (diff)
parente46f318077f061a82ac64c767e869ae12666119a (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
-rw-r--r--app/models/session.rb2
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