Commit 14d176f
committed
Set User Class on Boot
For most of the Rails boot process, an app running solidus_auth_devise
believes that its user class is whatever is configured in the
config/spree.rb initializer. However, if `solidus_auth_devise` is
installed, that is changed after most things have been configured.
It need not be this way: If we want this gem to set a default, we should
set it really early on, not in one of the last initializers to run (they
also run alphabetically, so `solidus_auth_devise` initializers run quite
late.1 parent 6b31e00 commit 14d176f
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
| |||
0 commit comments