summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-08-26 10:35:02 +0200
committerAzul <azul@riseup.net>2016-08-26 10:35:02 +0200
commite46f318077f061a82ac64c767e869ae12666119a (patch)
treed3cdd2b9fd282451c9568af9e164ca9ee44ab0fd /app/models
parent67302ca1986a66a6d278c34216ad33f4c65a018e (diff)
[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
Diffstat (limited to 'app/models')
-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