aboutsummaryrefslogtreecommitdiff
path: root/src/actions/mixins/auth/password_resets/find_user.cr
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/mixins/auth/password_resets/find_user.cr')
-rw-r--r--src/actions/mixins/auth/password_resets/find_user.cr5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/actions/mixins/auth/password_resets/find_user.cr b/src/actions/mixins/auth/password_resets/find_user.cr
new file mode 100644
index 0000000..cab02d5
--- /dev/null
+++ b/src/actions/mixins/auth/password_resets/find_user.cr
@@ -0,0 +1,5 @@
+module Auth::PasswordResets::FindUser
+ private def user : User
+ UserQuery.find(user_id)
+ end
+end