Commit d1c9e09
committed
[BaseController::Authentication] Use :api_includes
Use the new `:lookup_scope` argument for `.authenticate` and
`.lookup_by_identity` to reduce the number of user based queries on
every request.1 parent b65c984 commit d1c9e09
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| |||
0 commit comments