Commit fcd8eff
Use spree_user instead of spree_current_user
Devise utilizes spree_user scope when executing after_sign_in_path.
This is an important distinction when storing the user location as the
user would not be redirected as expected if we use spree_current_user.
Co-Authored-By: Elia Schito <elia@schito.me>1 parent b0158b8 commit fcd8eff
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
0 commit comments