3 Commits

  1. 9
      CHANGELOG.md
  2. 2
      assets/static/docs/.build
  3. 6
      assets/static/docs/404.html
  4. 22
      assets/static/docs/Mirage.Accounts.User.html
  5. 16
      assets/static/docs/Mirage.Accounts.UserNotifier.html
  6. 24
      assets/static/docs/Mirage.Accounts.UserToken.html
  7. 138
      assets/static/docs/Mirage.Accounts.html
  8. 10
      assets/static/docs/Mirage.Links.Link.html
  9. 10
      assets/static/docs/Mirage.Links.LinkTopic.html
  10. 64
      assets/static/docs/Mirage.Links.html
  11. 10
      assets/static/docs/Mirage.Lists.List.html
  12. 64
      assets/static/docs/Mirage.Lists.html
  13. 16
      assets/static/docs/Mirage.Markdown.html
  14. 10
      assets/static/docs/Mirage.Notes.Note.html
  15. 10
      assets/static/docs/Mirage.Notes.NoteLink.html
  16. 10
      assets/static/docs/Mirage.Notes.NoteNote.html
  17. 10
      assets/static/docs/Mirage.Notes.NoteTopic.html
  18. 84
      assets/static/docs/Mirage.Notes.html
  19. 14
      assets/static/docs/Mirage.Release.html
  20. 94
      assets/static/docs/Mirage.Repo.html
  21. 10
      assets/static/docs/Mirage.Settings.Setting.html
  22. 70
      assets/static/docs/Mirage.Settings.html
  23. 12
      assets/static/docs/Mirage.Slug.html
  24. 26
      assets/static/docs/Mirage.Tags.html
  25. 10
      assets/static/docs/Mirage.Topics.Topic.html
  26. 62
      assets/static/docs/Mirage.Topics.html
  27. BIN
      assets/static/docs/Mirage.epub
  28. 10
      assets/static/docs/Mirage.html
  29. 16
      assets/static/docs/MirageWeb.BlogLive.html
  30. 56
      assets/static/docs/MirageWeb.Endpoint.html
  31. 14
      assets/static/docs/MirageWeb.ErrorHelpers.html
  32. 16
      assets/static/docs/MirageWeb.ErrorView.html
  33. 62
      assets/static/docs/MirageWeb.Gettext.html
  34. 12
      assets/static/docs/MirageWeb.GotoAnythingLive.html
  35. 12
      assets/static/docs/MirageWeb.HomeLive.html
  36. 12
      assets/static/docs/MirageWeb.InboxLive.Index.html
  37. 12
      assets/static/docs/MirageWeb.InboxLive.ItemComponent.html
  38. 22
      assets/static/docs/MirageWeb.LayoutView.html
  39. 12
      assets/static/docs/MirageWeb.LinkLive.FormComponent.html
  40. 12
      assets/static/docs/MirageWeb.LinkLive.Index.html
  41. 12
      assets/static/docs/MirageWeb.LinkLive.Show.html
  42. 12
      assets/static/docs/MirageWeb.ListLive.FormComponent.html
  43. 12
      assets/static/docs/MirageWeb.ListLive.Index.html
  44. 16
      assets/static/docs/MirageWeb.ListLive.Show.html
  45. 16
      assets/static/docs/MirageWeb.LiveHelpers.html
  46. 12
      assets/static/docs/MirageWeb.ModalComponent.html
  47. 12
      assets/static/docs/MirageWeb.NoteLive.FormComponent.html
  48. 12
      assets/static/docs/MirageWeb.NoteLive.Index.html
  49. 16
      assets/static/docs/MirageWeb.NoteLive.Show.html
  50. 196
      assets/static/docs/MirageWeb.Router.Helpers.html
  51. 20
      assets/static/docs/MirageWeb.Router.html
  52. 18
      assets/static/docs/MirageWeb.SettingController.html
  53. 16
      assets/static/docs/MirageWeb.SettingView.html
  54. 16
      assets/static/docs/MirageWeb.SharedView.html
  55. 16
      assets/static/docs/MirageWeb.Telemetry.html
  56. 24
      assets/static/docs/MirageWeb.TopicController.html
  57. 16
      assets/static/docs/MirageWeb.TopicView.html
  58. 20
      assets/static/docs/MirageWeb.UserAuth.html
  59. 16
      assets/static/docs/MirageWeb.UserConfirmationController.html
  60. 16
      assets/static/docs/MirageWeb.UserConfirmationView.html
  61. 14
      assets/static/docs/MirageWeb.UserRegistrationController.html
  62. 16
      assets/static/docs/MirageWeb.UserRegistrationView.html
  63. 18
      assets/static/docs/MirageWeb.UserResetPasswordController.html
  64. 16
      assets/static/docs/MirageWeb.UserResetPasswordView.html
  65. 16
      assets/static/docs/MirageWeb.UserSessionController.html
  66. 16
      assets/static/docs/MirageWeb.UserSessionView.html
  67. 16
      assets/static/docs/MirageWeb.UserSettingsController.html
  68. 16
      assets/static/docs/MirageWeb.UserSettingsView.html
  69. 10
      assets/static/docs/MirageWeb.UserSocket.html
  70. 16
      assets/static/docs/MirageWeb.UserView.html
  71. 24
      assets/static/docs/MirageWeb.html
  72. 14
      assets/static/docs/api-reference.html
  73. 1
      assets/static/docs/dist/search_items-25ed0032d3.js
  74. 1
      assets/static/docs/dist/search_items-8ffaddc107.js
  75. 2
      assets/static/docs/index.html
  76. 6
      assets/static/docs/readme.html
  77. 8
      assets/static/docs/search.html
  78. 11
      docs.sh
  79. 5
      mix.exs

9
CHANGELOG.md

@ -5,6 +5,15 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
<!-- changelog -->
## [v0.73.0](https://git.inhji.de/inhji/mirage/compare/v0.72.1...v0.73.0) (2021-03-14)
### Features:
* add docs alias
## [v0.72.1](https://git.inhji.de/inhji/mirage/compare/v0.72.0...v0.72.1) (2021-03-14)

2
assets/static/docs/.build

@ -73,7 +73,7 @@ dist/html/fonts/icomoon.eot
dist/html/fonts/icomoon.svg
dist/html/fonts/icomoon.ttf
dist/html/fonts/icomoon.woff
dist/search_items-25ed0032d3.js
dist/search_items-8ffaddc107.js
dist/sidebar_items-86ebe4f0ec.js
index.html
readme.html

6
assets/static/docs/404.html

@ -5,11 +5,11 @@
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="ExDoc v0.23.0">
<meta name="project" content="Mirage v0.70.1">
<meta name="project" content="Mirage v0.72.1">
<meta name="author" content="Inhji">
<title>404 — Mirage v0.70.1</title>
<title>404 — Mirage v0.72.1</title>
<link rel="stylesheet" href="dist/elixir-9f91ebe876dc01d67920.css" />
<script src="dist/sidebar_items-86ebe4f0ec.js"></script>
@ -52,7 +52,7 @@
Mirage
</a>
<strong class="sidebar-projectVersion">
v0.70.1
v0.72.1
</strong>
</div>

22
assets/static/docs/Mirage.Accounts.User.html

@ -5,11 +5,11 @@
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="ExDoc v0.23.0">
<meta name="project" content="Mirage v0.70.1">
<meta name="project" content="Mirage v0.72.1">
<meta name="author" content="Inhji">
<title>Mirage.Accounts.User — Mirage v0.70.1</title>
<title>Mirage.Accounts.User — Mirage v0.72.1</title>
<link rel="stylesheet" href="dist/elixir-9f91ebe876dc01d67920.css" />
<script src="dist/sidebar_items-86ebe4f0ec.js"></script>
@ -52,7 +52,7 @@
Mirage
</a>
<strong class="sidebar-projectVersion">
v0.70.1
v0.72.1
</strong>
</div>
@ -74,9 +74,9 @@ Mirage
<div id="content" class="content-inner">
<h1>
Mirage.Accounts.User <small class="app-vsn">(Mirage v0.70.1)</small>
Mirage.Accounts.User <small class="app-vsn">(Mirage v0.72.1)</small>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts/user.ex#L1" title="View Source" class="view-source" rel="help">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts/user.ex#L1" title="View Source" class="view-source" rel="help">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -176,7 +176,7 @@ Functions
</a>
<h1 class="signature">confirm_changeset(user)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts/user.ex#L108" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts/user.ex#L108" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -198,7 +198,7 @@ Functions
</a>
<h1 class="signature">email_changeset(user, attrs)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts/user.ex#L76" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts/user.ex#L76" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -222,7 +222,7 @@ Functions
</a>
<h1 class="signature">password_changeset(user, attrs, opts \\ [])</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts/user.ex#L98" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts/user.ex#L98" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -255,7 +255,7 @@ Defaults to <code class="inline">true</code>.</li></ul>
</a>
<h1 class="signature">registration_changeset(user, attrs, opts \\ [])</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts/user.ex#L32" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts/user.ex#L32" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -289,7 +289,7 @@ Defaults to <code class="inline">true</code>.</li></ul>
</a>
<h1 class="signature">valid_password?(arg1, password)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts/user.ex#L119" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts/user.ex#L119" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -312,7 +312,7 @@ Defaults to <code class="inline">true</code>.</li></ul>
</a>
<h1 class="signature">validate_current_password(changeset, password)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts/user.ex#L132" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts/user.ex#L132" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>

16
assets/static/docs/Mirage.Accounts.UserNotifier.html

@ -5,11 +5,11 @@
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="ExDoc v0.23.0">
<meta name="project" content="Mirage v0.70.1">
<meta name="project" content="Mirage v0.72.1">
<meta name="author" content="Inhji">
<title>Mirage.Accounts.UserNotifier — Mirage v0.70.1</title>
<title>Mirage.Accounts.UserNotifier — Mirage v0.72.1</title>
<link rel="stylesheet" href="dist/elixir-9f91ebe876dc01d67920.css" />
<script src="dist/sidebar_items-86ebe4f0ec.js"></script>
@ -52,7 +52,7 @@
Mirage
</a>
<strong class="sidebar-projectVersion">
v0.70.1
v0.72.1
</strong>
</div>
@ -74,9 +74,9 @@ Mirage
<div id="content" class="content-inner">
<h1>
Mirage.Accounts.UserNotifier <small class="app-vsn">(Mirage v0.70.1)</small>
Mirage.Accounts.UserNotifier <small class="app-vsn">(Mirage v0.72.1)</small>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts/user_notifier.ex#L1" title="View Source" class="view-source" rel="help">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts/user_notifier.ex#L1" title="View Source" class="view-source" rel="help">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -149,7 +149,7 @@ Functions
</a>
<h1 class="signature">deliver_confirmation_instructions(user, url)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts/user_notifier.ex#L17" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts/user_notifier.ex#L17" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -171,7 +171,7 @@ Functions
</a>
<h1 class="signature">deliver_reset_password_instructions(user, url)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts/user_notifier.ex#L37" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts/user_notifier.ex#L37" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -193,7 +193,7 @@ Functions
</a>
<h1 class="signature">deliver_update_email_instructions(user, url)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts/user_notifier.ex#L57" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts/user_notifier.ex#L57" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>

24
assets/static/docs/Mirage.Accounts.UserToken.html

@ -5,11 +5,11 @@
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="ExDoc v0.23.0">
<meta name="project" content="Mirage v0.70.1">
<meta name="project" content="Mirage v0.72.1">
<meta name="author" content="Inhji">
<title>Mirage.Accounts.UserToken — Mirage v0.70.1</title>
<title>Mirage.Accounts.UserToken — Mirage v0.72.1</title>
<link rel="stylesheet" href="dist/elixir-9f91ebe876dc01d67920.css" />
<script src="dist/sidebar_items-86ebe4f0ec.js"></script>
@ -52,7 +52,7 @@
Mirage
</a>
<strong class="sidebar-projectVersion">
v0.70.1
v0.72.1
</strong>
</div>
@ -74,9 +74,9 @@ Mirage
<div id="content" class="content-inner">
<h1>
Mirage.Accounts.UserToken <small class="app-vsn">(Mirage v0.70.1)</small>
Mirage.Accounts.UserToken <small class="app-vsn">(Mirage v0.72.1)</small>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts/user_token.ex#L1" title="View Source" class="view-source" rel="help">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts/user_token.ex#L1" title="View Source" class="view-source" rel="help">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -187,7 +187,7 @@ Functions
</a>
<h1 class="signature">build_email_token(user, context)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts/user_token.ex#L57" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts/user_token.ex#L57" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -212,7 +212,7 @@ their email.</p>
</a>
<h1 class="signature">build_session_token(user)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts/user_token.ex#L29" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts/user_token.ex#L29" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -236,7 +236,7 @@ tokens do not need to be hashed.</p>
</a>
<h1 class="signature">token_and_context_query(token, context)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts/user_token.ex#L125" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts/user_token.ex#L125" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -258,7 +258,7 @@ tokens do not need to be hashed.</p>
</a>
<h1 class="signature">user_and_contexts_query(user, contexts)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts/user_token.ex#L132" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts/user_token.ex#L132" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -280,7 +280,7 @@ tokens do not need to be hashed.</p>
</a>
<h1 class="signature">verify_change_email_token_query(token, context)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts/user_token.ex#L106" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts/user_token.ex#L106" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -302,7 +302,7 @@ tokens do not need to be hashed.</p>
</a>
<h1 class="signature">verify_email_token_query(token, context)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts/user_token.ex#L79" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts/user_token.ex#L79" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -324,7 +324,7 @@ tokens do not need to be hashed.</p>
</a>
<h1 class="signature">verify_session_token_query(token)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts/user_token.ex#L39" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts/user_token.ex#L39" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>

138
assets/static/docs/Mirage.Accounts.html

@ -5,11 +5,11 @@
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="ExDoc v0.23.0">
<meta name="project" content="Mirage v0.70.1">
<meta name="project" content="Mirage v0.72.1">
<meta name="author" content="Inhji">
<title>Mirage.Accounts — Mirage v0.70.1</title>
<title>Mirage.Accounts — Mirage v0.72.1</title>
<link rel="stylesheet" href="dist/elixir-9f91ebe876dc01d67920.css" />
<script src="dist/sidebar_items-86ebe4f0ec.js"></script>
@ -52,7 +52,7 @@
Mirage
</a>
<strong class="sidebar-projectVersion">
v0.70.1
v0.72.1
</strong>
</div>
@ -74,9 +74,9 @@ Mirage
<div id="content" class="content-inner">
<h1>
Mirage.Accounts <small class="app-vsn">(Mirage v0.70.1)</small>
Mirage.Accounts <small class="app-vsn">(Mirage v0.72.1)</small>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts.ex#L1" title="View Source" class="view-source" rel="help">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts.ex#L1" title="View Source" class="view-source" rel="help">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -314,7 +314,7 @@ Functions
</a>
<h1 class="signature">apply_user_email(user, password, attrs)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts.ex#L137" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts.ex#L137" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -329,11 +329,11 @@ it in the database.</p><h2 id="apply_user_email/3-examples" class="section-headi
<a href="#apply_user_email/3-examples" class="hover-link"><span class="icon-link" aria-hidden="true"></span></a>
Examples
</h2>
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">apply_user_email</span><span class="p" data-group-id="1673565103-1">(</span><span class="n">user</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;valid password&quot;</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="1673565103-2">%{</span><span class="ss">email</span><span class="p">:</span><span class="w"> </span><span class="n">...</span><span class="p" data-group-id="1673565103-2">}</span><span class="p" data-group-id="1673565103-1">)</span><span class="w">
</span><span class="p" data-group-id="1673565103-3">{</span><span class="ss">:ok</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="1673565103-4">%</span><span class="nc" data-group-id="1673565103-4">User</span><span class="p" data-group-id="1673565103-4">{</span><span class="p" data-group-id="1673565103-4">}</span><span class="p" data-group-id="1673565103-3">}</span><span class="w">
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">apply_user_email</span><span class="p" data-group-id="8969144201-1">(</span><span class="n">user</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;valid password&quot;</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="8969144201-2">%{</span><span class="ss">email</span><span class="p">:</span><span class="w"> </span><span class="n">...</span><span class="p" data-group-id="8969144201-2">}</span><span class="p" data-group-id="8969144201-1">)</span><span class="w">
</span><span class="p" data-group-id="8969144201-3">{</span><span class="ss">:ok</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="8969144201-4">%</span><span class="nc" data-group-id="8969144201-4">User</span><span class="p" data-group-id="8969144201-4">{</span><span class="p" data-group-id="8969144201-4">}</span><span class="p" data-group-id="8969144201-3">}</span><span class="w">
</span><span class="gp unselectable">iex&gt; </span><span class="n">apply_user_email</span><span class="p" data-group-id="1673565103-5">(</span><span class="n">user</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;invalid password&quot;</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="1673565103-6">%{</span><span class="ss">email</span><span class="p">:</span><span class="w"> </span><span class="n">...</span><span class="p" data-group-id="1673565103-6">}</span><span class="p" data-group-id="1673565103-5">)</span><span class="w">
</span><span class="p" data-group-id="1673565103-7">{</span><span class="ss">:error</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="1673565103-8">%</span><span class="nc" data-group-id="1673565103-8">Ecto.Changeset</span><span class="p" data-group-id="1673565103-8">{</span><span class="p" data-group-id="1673565103-8">}</span><span class="p" data-group-id="1673565103-7">}</span></code></pre>
</span><span class="gp unselectable">iex&gt; </span><span class="n">apply_user_email</span><span class="p" data-group-id="8969144201-5">(</span><span class="n">user</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;invalid password&quot;</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="8969144201-6">%{</span><span class="ss">email</span><span class="p">:</span><span class="w"> </span><span class="n">...</span><span class="p" data-group-id="8969144201-6">}</span><span class="p" data-group-id="8969144201-5">)</span><span class="w">
</span><span class="p" data-group-id="8969144201-7">{</span><span class="ss">:error</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="8969144201-8">%</span><span class="nc" data-group-id="8969144201-8">Ecto.Changeset</span><span class="p" data-group-id="8969144201-8">{</span><span class="p" data-group-id="8969144201-8">}</span><span class="p" data-group-id="8969144201-7">}</span></code></pre>
</section>
</section>
<section class="detail" id="change_user_email/2">
@ -347,7 +347,7 @@ it in the database.</p><h2 id="apply_user_email/3-examples" class="section-headi
</a>
<h1 class="signature">change_user_email(user, attrs \\ %{})</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts.ex#L120" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts.ex#L120" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -361,8 +361,8 @@ it in the database.</p><h2 id="apply_user_email/3-examples" class="section-headi
<a href="#change_user_email/2-examples" class="hover-link"><span class="icon-link" aria-hidden="true"></span></a>
Examples
</h2>
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">change_user_email</span><span class="p" data-group-id="8438083585-1">(</span><span class="n">user</span><span class="p" data-group-id="8438083585-1">)</span><span class="w">
</span><span class="p" data-group-id="8438083585-2">%</span><span class="nc" data-group-id="8438083585-2">Ecto.Changeset</span><span class="p" data-group-id="8438083585-2">{</span><span class="ss">data</span><span class="p">:</span><span class="w"> </span><span class="p" data-group-id="8438083585-3">%</span><span class="nc" data-group-id="8438083585-3">User</span><span class="p" data-group-id="8438083585-3">{</span><span class="p" data-group-id="8438083585-3">}</span><span class="p" data-group-id="8438083585-2">}</span></code></pre>
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">change_user_email</span><span class="p" data-group-id="2717769805-1">(</span><span class="n">user</span><span class="p" data-group-id="2717769805-1">)</span><span class="w">
</span><span class="p" data-group-id="2717769805-2">%</span><span class="nc" data-group-id="2717769805-2">Ecto.Changeset</span><span class="p" data-group-id="2717769805-2">{</span><span class="ss">data</span><span class="p">:</span><span class="w"> </span><span class="p" data-group-id="2717769805-3">%</span><span class="nc" data-group-id="2717769805-3">User</span><span class="p" data-group-id="2717769805-3">{</span><span class="p" data-group-id="2717769805-3">}</span><span class="p" data-group-id="2717769805-2">}</span></code></pre>
</section>
</section>
<section class="detail" id="change_user_password/2">
@ -376,7 +376,7 @@ it in the database.</p><h2 id="apply_user_email/3-examples" class="section-headi
</a>
<h1 class="signature">change_user_password(user, attrs \\ %{})</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts.ex#L196" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts.ex#L196" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -390,8 +390,8 @@ it in the database.</p><h2 id="apply_user_email/3-examples" class="section-headi
<a href="#change_user_password/2-examples" class="hover-link"><span class="icon-link" aria-hidden="true"></span></a>
Examples
</h2>
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">change_user_password</span><span class="p" data-group-id="5327203253-1">(</span><span class="n">user</span><span class="p" data-group-id="5327203253-1">)</span><span class="w">
</span><span class="p" data-group-id="5327203253-2">%</span><span class="nc" data-group-id="5327203253-2">Ecto.Changeset</span><span class="p" data-group-id="5327203253-2">{</span><span class="ss">data</span><span class="p">:</span><span class="w"> </span><span class="p" data-group-id="5327203253-3">%</span><span class="nc" data-group-id="5327203253-3">User</span><span class="p" data-group-id="5327203253-3">{</span><span class="p" data-group-id="5327203253-3">}</span><span class="p" data-group-id="5327203253-2">}</span></code></pre>
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">change_user_password</span><span class="p" data-group-id="1918000561-1">(</span><span class="n">user</span><span class="p" data-group-id="1918000561-1">)</span><span class="w">
</span><span class="p" data-group-id="1918000561-2">%</span><span class="nc" data-group-id="1918000561-2">Ecto.Changeset</span><span class="p" data-group-id="1918000561-2">{</span><span class="ss">data</span><span class="p">:</span><span class="w"> </span><span class="p" data-group-id="1918000561-3">%</span><span class="nc" data-group-id="1918000561-3">User</span><span class="p" data-group-id="1918000561-3">{</span><span class="p" data-group-id="1918000561-3">}</span><span class="p" data-group-id="1918000561-2">}</span></code></pre>
</section>
</section>
<section class="detail" id="change_user_registration/2">
@ -405,7 +405,7 @@ it in the database.</p><h2 id="apply_user_email/3-examples" class="section-headi
</a>
<h1 class="signature">change_user_registration(user, attrs \\ %{})</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts.ex#L105" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts.ex#L105" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -419,8 +419,8 @@ it in the database.</p><h2 id="apply_user_email/3-examples" class="section-headi
<a href="#change_user_registration/2-examples" class="hover-link"><span class="icon-link" aria-hidden="true"></span></a>
Examples
</h2>
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">change_user_registration</span><span class="p" data-group-id="6255026124-1">(</span><span class="n">user</span><span class="p" data-group-id="6255026124-1">)</span><span class="w">
</span><span class="p" data-group-id="6255026124-2">%</span><span class="nc" data-group-id="6255026124-2">Ecto.Changeset</span><span class="p" data-group-id="6255026124-2">{</span><span class="ss">data</span><span class="p">:</span><span class="w"> </span><span class="p" data-group-id="6255026124-3">%</span><span class="nc" data-group-id="6255026124-3">User</span><span class="p" data-group-id="6255026124-3">{</span><span class="p" data-group-id="6255026124-3">}</span><span class="p" data-group-id="6255026124-2">}</span></code></pre>
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">change_user_registration</span><span class="p" data-group-id="3106262015-1">(</span><span class="n">user</span><span class="p" data-group-id="3106262015-1">)</span><span class="w">
</span><span class="p" data-group-id="3106262015-2">%</span><span class="nc" data-group-id="3106262015-2">Ecto.Changeset</span><span class="p" data-group-id="3106262015-2">{</span><span class="ss">data</span><span class="p">:</span><span class="w"> </span><span class="p" data-group-id="3106262015-3">%</span><span class="nc" data-group-id="3106262015-3">User</span><span class="p" data-group-id="3106262015-3">{</span><span class="p" data-group-id="3106262015-3">}</span><span class="p" data-group-id="3106262015-2">}</span></code></pre>
</section>
</section>
<section class="detail" id="confirm_user/1">
@ -432,7 +432,7 @@ it in the database.</p><h2 id="apply_user_email/3-examples" class="section-headi
</a>
<h1 class="signature">confirm_user(token)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts.ex#L286" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts.ex#L286" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -455,7 +455,7 @@ and the token is deleted.</p>
</a>
<h1 class="signature">delete_session_token(token)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts.ex#L250" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts.ex#L250" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -477,7 +477,7 @@ and the token is deleted.</p>
</a>
<h1 class="signature">deliver_update_email_instructions(user, current_email, update_email_url_fun)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts.ex#L179" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts.ex#L179" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -491,8 +491,8 @@ and the token is deleted.</p>
<a href="#deliver_update_email_instructions/3-examples" class="hover-link"><span class="icon-link" aria-hidden="true"></span></a>
Examples
</h2>
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">deliver_update_email_instructions</span><span class="p" data-group-id="9703465826-1">(</span><span class="n">user</span><span class="p">,</span><span class="w"> </span><span class="n">current_email</span><span class="p">,</span><span class="w"> </span><span class="o">&amp;</span><span class="nc">Routes</span><span class="o">.</span><span class="n">user_update_email_url</span><span class="p" data-group-id="9703465826-2">(</span><span class="n">conn</span><span class="p">,</span><span class="w"> </span><span class="ss">:edit</span><span class="p">,</span><span class="w"> </span><span class="ni">&amp;1</span><span class="p" data-group-id="9703465826-2">)</span><span class="p" data-group-id="9703465826-1">)</span><span class="w">
</span><span class="p" data-group-id="9703465826-3">{</span><span class="ss">:ok</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="9703465826-4">%{</span><span class="ss">to</span><span class="p">:</span><span class="w"> </span><span class="n">...</span><span class="p">,</span><span class="w"> </span><span class="ss">body</span><span class="p">:</span><span class="w"> </span><span class="n">...</span><span class="p" data-group-id="9703465826-4">}</span><span class="p" data-group-id="9703465826-3">}</span></code></pre>
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">deliver_update_email_instructions</span><span class="p" data-group-id="2882280946-1">(</span><span class="n">user</span><span class="p">,</span><span class="w"> </span><span class="n">current_email</span><span class="p">,</span><span class="w"> </span><span class="o">&amp;</span><span class="nc">Routes</span><span class="o">.</span><span class="n">user_update_email_url</span><span class="p" data-group-id="2882280946-2">(</span><span class="n">conn</span><span class="p">,</span><span class="w"> </span><span class="ss">:edit</span><span class="p">,</span><span class="w"> </span><span class="ni">&amp;1</span><span class="p" data-group-id="2882280946-2">)</span><span class="p" data-group-id="2882280946-1">)</span><span class="w">
</span><span class="p" data-group-id="2882280946-3">{</span><span class="ss">:ok</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="2882280946-4">%{</span><span class="ss">to</span><span class="p">:</span><span class="w"> </span><span class="n">...</span><span class="p">,</span><span class="w"> </span><span class="ss">body</span><span class="p">:</span><span class="w"> </span><span class="n">...</span><span class="p" data-group-id="2882280946-4">}</span><span class="p" data-group-id="2882280946-3">}</span></code></pre>
</section>
</section>
<section class="detail" id="deliver_user_confirmation_instructions/2">
@ -504,7 +504,7 @@ and the token is deleted.</p>
</a>
<h1 class="signature">deliver_user_confirmation_instructions(user, confirmation_url_fun)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts.ex#L269" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts.ex#L269" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -518,11 +518,11 @@ and the token is deleted.</p>
<a href="#deliver_user_confirmation_instructions/2-examples" class="hover-link"><span class="icon-link" aria-hidden="true"></span></a>
Examples
</h2>
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">deliver_user_confirmation_instructions</span><span class="p" data-group-id="0354798461-1">(</span><span class="n">user</span><span class="p">,</span><span class="w"> </span><span class="o">&amp;</span><span class="nc">Routes</span><span class="o">.</span><span class="n">user_confirmation_url</span><span class="p" data-group-id="0354798461-2">(</span><span class="n">conn</span><span class="p">,</span><span class="w"> </span><span class="ss">:confirm</span><span class="p">,</span><span class="w"> </span><span class="ni">&amp;1</span><span class="p" data-group-id="0354798461-2">)</span><span class="p" data-group-id="0354798461-1">)</span><span class="w">
</span><span class="p" data-group-id="0354798461-3">{</span><span class="ss">:ok</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="0354798461-4">%{</span><span class="ss">to</span><span class="p">:</span><span class="w"> </span><span class="n">...</span><span class="p">,</span><span class="w"> </span><span class="ss">body</span><span class="p">:</span><span class="w"> </span><span class="n">...</span><span class="p" data-group-id="0354798461-4">}</span><span class="p" data-group-id="0354798461-3">}</span><span class="w">
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">deliver_user_confirmation_instructions</span><span class="p" data-group-id="6389300751-1">(</span><span class="n">user</span><span class="p">,</span><span class="w"> </span><span class="o">&amp;</span><span class="nc">Routes</span><span class="o">.</span><span class="n">user_confirmation_url</span><span class="p" data-group-id="6389300751-2">(</span><span class="n">conn</span><span class="p">,</span><span class="w"> </span><span class="ss">:confirm</span><span class="p">,</span><span class="w"> </span><span class="ni">&amp;1</span><span class="p" data-group-id="6389300751-2">)</span><span class="p" data-group-id="6389300751-1">)</span><span class="w">
</span><span class="p" data-group-id="6389300751-3">{</span><span class="ss">:ok</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="6389300751-4">%{</span><span class="ss">to</span><span class="p">:</span><span class="w"> </span><span class="n">...</span><span class="p">,</span><span class="w"> </span><span class="ss">body</span><span class="p">:</span><span class="w"> </span><span class="n">...</span><span class="p" data-group-id="6389300751-4">}</span><span class="p" data-group-id="6389300751-3">}</span><span class="w">
</span><span class="gp unselectable">iex&gt; </span><span class="n">deliver_user_confirmation_instructions</span><span class="p" data-group-id="0354798461-5">(</span><span class="n">confirmed_user</span><span class="p">,</span><span class="w"> </span><span class="o">&amp;</span><span class="nc">Routes</span><span class="o">.</span><span class="n">user_confirmation_url</span><span class="p" data-group-id="0354798461-6">(</span><span class="n">conn</span><span class="p">,</span><span class="w"> </span><span class="ss">:confirm</span><span class="p">,</span><span class="w"> </span><span class="ni">&amp;1</span><span class="p" data-group-id="0354798461-6">)</span><span class="p" data-group-id="0354798461-5">)</span><span class="w">
</span><span class="p" data-group-id="0354798461-7">{</span><span class="ss">:error</span><span class="p">,</span><span class="w"> </span><span class="ss">:already_confirmed</span><span class="p" data-group-id="0354798461-7">}</span></code></pre>
</span><span class="gp unselectable">iex&gt; </span><span class="n">deliver_user_confirmation_instructions</span><span class="p" data-group-id="6389300751-5">(</span><span class="n">confirmed_user</span><span class="p">,</span><span class="w"> </span><span class="o">&amp;</span><span class="nc">Routes</span><span class="o">.</span><span class="n">user_confirmation_url</span><span class="p" data-group-id="6389300751-6">(</span><span class="n">conn</span><span class="p">,</span><span class="w"> </span><span class="ss">:confirm</span><span class="p">,</span><span class="w"> </span><span class="ni">&amp;1</span><span class="p" data-group-id="6389300751-6">)</span><span class="p" data-group-id="6389300751-5">)</span><span class="w">
</span><span class="p" data-group-id="6389300751-7">{</span><span class="ss">:error</span><span class="p">,</span><span class="w"> </span><span class="ss">:already_confirmed</span><span class="p" data-group-id="6389300751-7">}</span></code></pre>
</section>
</section>
<section class="detail" id="deliver_user_reset_password_instructions/2">
@ -534,7 +534,7 @@ and the token is deleted.</p>
</a>
<h1 class="signature">deliver_user_reset_password_instructions(user, reset_password_url_fun)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts.ex#L313" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts.ex#L313" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -548,8 +548,8 @@ and the token is deleted.</p>
<a href="#deliver_user_reset_password_instructions/2-examples" class="hover-link"><span class="icon-link" aria-hidden="true"></span></a>
Examples
</h2>
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">deliver_user_reset_password_instructions</span><span class="p" data-group-id="8591679280-1">(</span><span class="n">user</span><span class="p">,</span><span class="w"> </span><span class="o">&amp;</span><span class="nc">Routes</span><span class="o">.</span><span class="n">user_reset_password_url</span><span class="p" data-group-id="8591679280-2">(</span><span class="n">conn</span><span class="p">,</span><span class="w"> </span><span class="ss">:edit</span><span class="p">,</span><span class="w"> </span><span class="ni">&amp;1</span><span class="p" data-group-id="8591679280-2">)</span><span class="p" data-group-id="8591679280-1">)</span><span class="w">
</span><span class="p" data-group-id="8591679280-3">{</span><span class="ss">:ok</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="8591679280-4">%{</span><span class="ss">to</span><span class="p">:</span><span class="w"> </span><span class="n">...</span><span class="p">,</span><span class="w"> </span><span class="ss">body</span><span class="p">:</span><span class="w"> </span><span class="n">...</span><span class="p" data-group-id="8591679280-4">}</span><span class="p" data-group-id="8591679280-3">}</span></code></pre>
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">deliver_user_reset_password_instructions</span><span class="p" data-group-id="7623706808-1">(</span><span class="n">user</span><span class="p">,</span><span class="w"> </span><span class="o">&amp;</span><span class="nc">Routes</span><span class="o">.</span><span class="n">user_reset_password_url</span><span class="p" data-group-id="7623706808-2">(</span><span class="n">conn</span><span class="p">,</span><span class="w"> </span><span class="ss">:edit</span><span class="p">,</span><span class="w"> </span><span class="ni">&amp;1</span><span class="p" data-group-id="7623706808-2">)</span><span class="p" data-group-id="7623706808-1">)</span><span class="w">
</span><span class="p" data-group-id="7623706808-3">{</span><span class="ss">:ok</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="7623706808-4">%{</span><span class="ss">to</span><span class="p">:</span><span class="w"> </span><span class="n">...</span><span class="p">,</span><span class="w"> </span><span class="ss">body</span><span class="p">:</span><span class="w"> </span><span class="n">...</span><span class="p" data-group-id="7623706808-4">}</span><span class="p" data-group-id="7623706808-3">}</span></code></pre>
</section>
</section>
<section class="detail" id="generate_user_session_token/1">
@ -561,7 +561,7 @@ and the token is deleted.</p>
</a>
<h1 class="signature">generate_user_session_token(user)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts.ex#L233" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts.ex#L233" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -583,7 +583,7 @@ and the token is deleted.</p>
</a>
<h1 class="signature">get_user(id)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts.ex#L62" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts.ex#L62" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -605,7 +605,7 @@ and the token is deleted.</p>
</a>
<h1 class="signature">get_user!(id)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts.ex#L60" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts.ex#L60" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -619,10 +619,10 @@ and the token is deleted.</p>
<a href="#get_user!/1-examples" class="hover-link"><span class="icon-link" aria-hidden="true"></span></a>
Examples
</h2>
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">get_user!</span><span class="p" data-group-id="2291554558-1">(</span><span class="mi">123</span><span class="p" data-group-id="2291554558-1">)</span><span class="w">
</span><span class="p" data-group-id="2291554558-2">%</span><span class="nc" data-group-id="2291554558-2">User</span><span class="p" data-group-id="2291554558-2">{</span><span class="p" data-group-id="2291554558-2">}</span><span class="w">
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">get_user!</span><span class="p" data-group-id="2027177944-1">(</span><span class="mi">123</span><span class="p" data-group-id="2027177944-1">)</span><span class="w">
</span><span class="p" data-group-id="2027177944-2">%</span><span class="nc" data-group-id="2027177944-2">User</span><span class="p" data-group-id="2027177944-2">{</span><span class="p" data-group-id="2027177944-2">}</span><span class="w">
</span><span class="gp unselectable">iex&gt; </span><span class="n">get_user!</span><span class="p" data-group-id="2291554558-3">(</span><span class="mi">456</span><span class="p" data-group-id="2291554558-3">)</span><span class="w">
</span><span class="gp unselectable">iex&gt; </span><span class="n">get_user!</span><span class="p" data-group-id="2027177944-3">(</span><span class="mi">456</span><span class="p" data-group-id="2027177944-3">)</span><span class="w">
</span><span class="gt">** (Ecto.NoResultsError)</span></code></pre>
</section>
</section>
@ -635,7 +635,7 @@ and the token is deleted.</p>
</a>
<h1 class="signature">get_user_by_email(email)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts.ex#L24" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts.ex#L24" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -649,10 +649,10 @@ and the token is deleted.</p>
<a href="#get_user_by_email/1-examples" class="hover-link"><span class="icon-link" aria-hidden="true"></span></a>
Examples
</h2>
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">get_user_by_email</span><span class="p" data-group-id="3921753510-1">(</span><span class="s">&quot;foo@example.com&quot;</span><span class="p" data-group-id="3921753510-1">)</span><span class="w">
</span><span class="p" data-group-id="3921753510-2">%</span><span class="nc" data-group-id="3921753510-2">User</span><span class="p" data-group-id="3921753510-2">{</span><span class="p" data-group-id="3921753510-2">}</span><span class="w">
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">get_user_by_email</span><span class="p" data-group-id="7716248025-1">(</span><span class="s">&quot;foo@example.com&quot;</span><span class="p" data-group-id="7716248025-1">)</span><span class="w">
</span><span class="p" data-group-id="7716248025-2">%</span><span class="nc" data-group-id="7716248025-2">User</span><span class="p" data-group-id="7716248025-2">{</span><span class="p" data-group-id="7716248025-2">}</span><span class="w">
</span><span class="gp unselectable">iex&gt; </span><span class="n">get_user_by_email</span><span class="p" data-group-id="3921753510-3">(</span><span class="s">&quot;unknown@example.com&quot;</span><span class="p" data-group-id="3921753510-3">)</span><span class="w">
</span><span class="gp unselectable">iex&gt; </span><span class="n">get_user_by_email</span><span class="p" data-group-id="7716248025-3">(</span><span class="s">&quot;unknown@example.com&quot;</span><span class="p" data-group-id="7716248025-3">)</span><span class="w">
</span><span class="no">nil</span></code></pre>
</section>
</section>
@ -665,7 +665,7 @@ and the token is deleted.</p>
</a>
<h1 class="signature">get_user_by_email_and_password(email, password)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts.ex#L40" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts.ex#L40" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -679,10 +679,10 @@ and the token is deleted.</p>
<a href="#get_user_by_email_and_password/2-examples" class="hover-link"><span class="icon-link" aria-hidden="true"></span></a>
Examples
</h2>
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">get_user_by_email_and_password</span><span class="p" data-group-id="7821122013-1">(</span><span class="s">&quot;foo@example.com&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;correct_password&quot;</span><span class="p" data-group-id="7821122013-1">)</span><span class="w">
</span><span class="p" data-group-id="7821122013-2">%</span><span class="nc" data-group-id="7821122013-2">User</span><span class="p" data-group-id="7821122013-2">{</span><span class="p" data-group-id="7821122013-2">}</span><span class="w">
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">get_user_by_email_and_password</span><span class="p" data-group-id="1743262812-1">(</span><span class="s">&quot;foo@example.com&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;correct_password&quot;</span><span class="p" data-group-id="1743262812-1">)</span><span class="w">
</span><span class="p" data-group-id="1743262812-2">%</span><span class="nc" data-group-id="1743262812-2">User</span><span class="p" data-group-id="1743262812-2">{</span><span class="p" data-group-id="1743262812-2">}</span><span class="w">
</span><span class="gp unselectable">iex&gt; </span><span class="n">get_user_by_email_and_password</span><span class="p" data-group-id="7821122013-3">(</span><span class="s">&quot;foo@example.com&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;invalid_password&quot;</span><span class="p" data-group-id="7821122013-3">)</span><span class="w">
</span><span class="gp unselectable">iex&gt; </span><span class="n">get_user_by_email_and_password</span><span class="p" data-group-id="1743262812-3">(</span><span class="s">&quot;foo@example.com&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;invalid_password&quot;</span><span class="p" data-group-id="1743262812-3">)</span><span class="w">
</span><span class="no">nil</span></code></pre>
</section>
</section>
@ -695,7 +695,7 @@ and the token is deleted.</p>
</a>
<h1 class="signature">get_user_by_reset_password_token(token)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts.ex#L332" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts.ex#L332" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -709,10 +709,10 @@ and the token is deleted.</p>
<a href="#get_user_by_reset_password_token/1-examples" class="hover-link"><span class="icon-link" aria-hidden="true"></span></a>
Examples
</h2>
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">get_user_by_reset_password_token</span><span class="p" data-group-id="1699841339-1">(</span><span class="s">&quot;validtoken&quot;</span><span class="p" data-group-id="1699841339-1">)</span><span class="w">
</span><span class="p" data-group-id="1699841339-2">%</span><span class="nc" data-group-id="1699841339-2">User</span><span class="p" data-group-id="1699841339-2">{</span><span class="p" data-group-id="1699841339-2">}</span><span class="w">
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">get_user_by_reset_password_token</span><span class="p" data-group-id="9985211372-1">(</span><span class="s">&quot;validtoken&quot;</span><span class="p" data-group-id="9985211372-1">)</span><span class="w">
</span><span class="p" data-group-id="9985211372-2">%</span><span class="nc" data-group-id="9985211372-2">User</span><span class="p" data-group-id="9985211372-2">{</span><span class="p" data-group-id="9985211372-2">}</span><span class="w">
</span><span class="gp unselectable">iex&gt; </span><span class="n">get_user_by_reset_password_token</span><span class="p" data-group-id="1699841339-3">(</span><span class="s">&quot;invalidtoken&quot;</span><span class="p" data-group-id="1699841339-3">)</span><span class="w">
</span><span class="gp unselectable">iex&gt; </span><span class="n">get_user_by_reset_password_token</span><span class="p" data-group-id="9985211372-3">(</span><span class="s">&quot;invalidtoken&quot;</span><span class="p" data-group-id="9985211372-3">)</span><span class="w">
</span><span class="no">nil</span></code></pre>
</section>
</section>
@ -725,7 +725,7 @@ and the token is deleted.</p>
</a>
<h1 class="signature">get_user_by_session_token(token)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts.ex#L242" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts.ex#L242" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -747,7 +747,7 @@ and the token is deleted.</p>
</a>
<h1 class="signature">has_user?()</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts.ex#L74" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts.ex#L74" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -761,7 +761,7 @@ and the token is deleted.</p>
<a href="#has_user?/0-examples" class="hover-link"><span class="icon-link" aria-hidden="true"></span></a>
Examples
</h2>
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">has_user?</span><span class="p" data-group-id="1609308960-1">(</span><span class="p" data-group-id="1609308960-1">)</span><span class="w">
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">has_user?</span><span class="p" data-group-id="7837157520-1">(</span><span class="p" data-group-id="7837157520-1">)</span><span class="w">
</span><span class="no">true</span></code></pre>
</section>
</section>
@ -774,7 +774,7 @@ and the token is deleted.</p>
</a>
<h1 class="signature">register_user(attrs)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts.ex#L90" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts.ex#L90" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -788,11 +788,11 @@ and the token is deleted.</p>
<a href="#register_user/1-examples" class="hover-link"><span class="icon-link" aria-hidden="true"></span></a>
Examples
</h2>
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">register_user</span><span class="p" data-group-id="4440233041-1">(</span><span class="p" data-group-id="4440233041-2">%{</span><span class="ss">field</span><span class="p">:</span><span class="w"> </span><span class="n">value</span><span class="p" data-group-id="4440233041-2">}</span><span class="p" data-group-id="4440233041-1">)</span><span class="w">
</span><span class="p" data-group-id="4440233041-3">{</span><span class="ss">:ok</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="4440233041-4">%</span><span class="nc" data-group-id="4440233041-4">User</span><span class="p" data-group-id="4440233041-4">{</span><span class="p" data-group-id="4440233041-4">}</span><span class="p" data-group-id="4440233041-3">}</span><span class="w">
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">register_user</span><span class="p" data-group-id="8867144875-1">(</span><span class="p" data-group-id="8867144875-2">%{</span><span class="ss">field</span><span class="p">:</span><span class="w"> </span><span class="n">value</span><span class="p" data-group-id="8867144875-2">}</span><span class="p" data-group-id="8867144875-1">)</span><span class="w">
</span><span class="p" data-group-id="8867144875-3">{</span><span class="ss">:ok</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="8867144875-4">%</span><span class="nc" data-group-id="8867144875-4">User</span><span class="p" data-group-id="8867144875-4">{</span><span class="p" data-group-id="8867144875-4">}</span><span class="p" data-group-id="8867144875-3">}</span><span class="w">
</span><span class="gp unselectable">iex&gt; </span><span class="n">register_user</span><span class="p" data-group-id="4440233041-5">(</span><span class="p" data-group-id="4440233041-6">%{</span><span class="ss">field</span><span class="p">:</span><span class="w"> </span><span class="n">bad_value</span><span class="p" data-group-id="4440233041-6">}</span><span class="p" data-group-id="4440233041-5">)</span><span class="w">
</span><span class="p" data-group-id="4440233041-7">{</span><span class="ss">:error</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="4440233041-8">%</span><span class="nc" data-group-id="4440233041-8">Ecto.Changeset</span><span class="p" data-group-id="4440233041-8">{</span><span class="p" data-group-id="4440233041-8">}</span><span class="p" data-group-id="4440233041-7">}</span></code></pre>
</span><span class="gp unselectable">iex&gt; </span><span class="n">register_user</span><span class="p" data-group-id="8867144875-5">(</span><span class="p" data-group-id="8867144875-6">%{</span><span class="ss">field</span><span class="p">:</span><span class="w"> </span><span class="n">bad_value</span><span class="p" data-group-id="8867144875-6">}</span><span class="p" data-group-id="8867144875-5">)</span><span class="w">
</span><span class="p" data-group-id="8867144875-7">{</span><span class="ss">:error</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="8867144875-8">%</span><span class="nc" data-group-id="8867144875-8">Ecto.Changeset</span><span class="p" data-group-id="8867144875-8">{</span><span class="p" data-group-id="8867144875-8">}</span><span class="p" data-group-id="8867144875-7">}</span></code></pre>
</section>
</section>
<section class="detail" id="reset_user_password/2">
@ -804,7 +804,7 @@ and the token is deleted.</p>
</a>
<h1 class="signature">reset_user_password(user, attrs)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts.ex#L353" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts.ex#L353" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -818,11 +818,11 @@ and the token is deleted.</p>
<a href="#reset_user_password/2-examples" class="hover-link"><span class="icon-link" aria-hidden="true"></span></a>
Examples
</h2>
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">reset_user_password</span><span class="p" data-group-id="3775702951-1">(</span><span class="n">user</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="3775702951-2">%{</span><span class="ss">password</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;new long password&quot;</span><span class="p">,</span><span class="w"> </span><span class="ss">password_confirmation</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;new long password&quot;</span><span class="p" data-group-id="3775702951-2">}</span><span class="p" data-group-id="3775702951-1">)</span><span class="w">
</span><span class="p" data-group-id="3775702951-3">{</span><span class="ss">:ok</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="3775702951-4">%</span><span class="nc" data-group-id="3775702951-4">User</span><span class="p" data-group-id="3775702951-4">{</span><span class="p" data-group-id="3775702951-4">}</span><span class="p" data-group-id="3775702951-3">}</span><span class="w">
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">reset_user_password</span><span class="p" data-group-id="4057584060-1">(</span><span class="n">user</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="4057584060-2">%{</span><span class="ss">password</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;new long password&quot;</span><span class="p">,</span><span class="w"> </span><span class="ss">password_confirmation</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;new long password&quot;</span><span class="p" data-group-id="4057584060-2">}</span><span class="p" data-group-id="4057584060-1">)</span><span class="w">
</span><span class="p" data-group-id="4057584060-3">{</span><span class="ss">:ok</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="4057584060-4">%</span><span class="nc" data-group-id="4057584060-4">User</span><span class="p" data-group-id="4057584060-4">{</span><span class="p" data-group-id="4057584060-4">}</span><span class="p" data-group-id="4057584060-3">}</span><span class="w">
</span><span class="gp unselectable">iex&gt; </span><span class="n">reset_user_password</span><span class="p" data-group-id="3775702951-5">(</span><span class="n">user</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="3775702951-6">%{</span><span class="ss">password</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;valid&quot;</span><span class="p">,</span><span class="w"> </span><span class="ss">password_confirmation</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;not the same&quot;</span><span class="p" data-group-id="3775702951-6">}</span><span class="p" data-group-id="3775702951-5">)</span><span class="w">
</span><span class="p" data-group-id="3775702951-7">{</span><span class="ss">:error</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="3775702951-8">%</span><span class="nc" data-group-id="3775702951-8">Ecto.Changeset</span><span class="p" data-group-id="3775702951-8">{</span><span class="p" data-group-id="3775702951-8">}</span><span class="p" data-group-id="3775702951-7">}</span></code></pre>
</span><span class="gp unselectable">iex&gt; </span><span class="n">reset_user_password</span><span class="p" data-group-id="4057584060-5">(</span><span class="n">user</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="4057584060-6">%{</span><span class="ss">password</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;valid&quot;</span><span class="p">,</span><span class="w"> </span><span class="ss">password_confirmation</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;not the same&quot;</span><span class="p" data-group-id="4057584060-6">}</span><span class="p" data-group-id="4057584060-5">)</span><span class="w">
</span><span class="p" data-group-id="4057584060-7">{</span><span class="ss">:error</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="4057584060-8">%</span><span class="nc" data-group-id="4057584060-8">Ecto.Changeset</span><span class="p" data-group-id="4057584060-8">{</span><span class="p" data-group-id="4057584060-8">}</span><span class="p" data-group-id="4057584060-7">}</span></code></pre>
</section>
</section>
<section class="detail" id="update_user_email/2">
@ -834,7 +834,7 @@ and the token is deleted.</p>
</a>
<h1 class="signature">update_user_email(user, token)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts.ex#L150" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts.ex#L150" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -857,7 +857,7 @@ The confirmed_at date is also updated to the current time.</p>
</a>
<h1 class="signature">update_user_password(user, password, attrs)</h1>
<a href="https://git.inhji.de/inhji/mirage/src/branch/master/lib/mirage/accounts.ex#L212" class="view-source" rel="help" title="View Source">
<a href="https://git.inhji.de/inhji/mirage/src/branch/main/lib/mirage/accounts.ex#L212" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
@ -871,11 +871,11 @@ The confirmed_at date is also updated to the current time.</p>
<a href="#update_user_password/3-examples" class="hover-link"><span class="icon-link" aria-hidden="true"></span></a>
Examples
</h2>
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">update_user_password</span><span class="p" data-group-id="8075975748-1">(</span><span class="n">user</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;valid password&quot;</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="8075975748-2">%{</span><span class="ss">password</span><span class="p">:</span><span class="w"> </span><span class="n">...</span><span class="p" data-group-id="8075975748-2">}</span><span class="p" data-group-id="8075975748-1">)</span><span class="w">
</span><span class="p" data-group-id="8075975748-3">{</span><span class="ss">:ok</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="8075975748-4">%</span><span class="nc" data-group-id="8075975748-4">User</span><span class="p" data-group-id="8075975748-4">{</span><span class="p" data-group-id="8075975748-4">}</span><span class="p" data-group-id="8075975748-3">}</span><span class="w">
<pre><code class="nohighlight makeup elixir"><span class="gp unselectable">iex&gt; </span><span class="n">update_user_password</span><span class="p" data-group-id="5760139402-1">(</span><span class="n">user</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;valid password&quot;</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="5760139402-2">%{</span><span class="ss">password</span><span class="p">:</span><span class="w"> </span><span class="n">...</span><span class="p" data-group-id="5760139402-2">}</span><span class="p" data-group-id="5760139402-1">)</span><span class="w">
</span><span class="p" data-group-id="5760139402-3">{</span><span class="ss">:ok</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="5760139402-4">%</span><span class="nc" data-group-id="5760139402-4">User</span><span class="p" data-group-id="5760139402-4">{</span><span class="p" data-group-id="5760139402-4">}</span><span class="p" data-group-id="5760139402-3">}</span><span class="w">
</span><span class="gp unselectable">iex&gt; </span><span class="n">update_user_password</span><span class="p" data-group-id="8075975748-5">(</span><span class="n">user</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;invalid password&quot;</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="8075975748-6">%{</span><span class="ss">password</span><span class="p">:</span><span class="w"> </span><span class="n">...</span><span class="p" data-group-id="8075975748-6">}</span><span class="p" data-group-id="8075975748-5">)</span><span class="w">
</span><span class="p" data-group-id="8075975748-7">{</span><span class="ss">:error</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="8075975748-8">%</span><span class="nc" data-group-id="8075975748-8">Ecto.Changeset</span><span class="p" data-group-id="8075975748-8">{</span><span class="p" data-group-id="8075975748-8">}</span><span class="p" data-group-id="8075975748-7">}</span></code></pre>
</span><span class="gp unselectable">iex&gt; </span><span class="n">update_user_password</span><span class="p" data-group-id="5760139402-5">(</span><span class="n">user</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;invalid password&quot;</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="5760139402-6">%{</span><span class="ss">password</span><span class="p">:</span><span class="w"> </span><span class="n">...</span><span class="p" data-group-id="5760139402-6">}</span><span class="p" data-group-id="5760139402-5">)</span><span class="w">
</span><span class="p" data-group-id="5760139402-7">{</span><span class="ss">:error</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="5760139402-8">%</span><span class="nc" data-group-id="5760139402-8">Ecto.Changeset</span><span class="p" data-group-id="5760139402-8">{</span><span class="p" data-group-id="5760139402-8">}</span><span class="p" data-group-id="5760139402-7">}</span></code></pre>
</section>
</section>

10
assets/static/docs/Mirage.Links.Link.html

@ -5,11 +5,11 @@
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="ExDoc v0.23.0">
<meta name="project" content="Mirage v0.70.1">
<meta name="project" content="Mirage v0.72.1">
<meta name="author" content="Inhji">
<title>Mirage.Links.Link — Mirage v0.70.1</title>
<title>Mirage.Links.Link — Mirage v0.72.1</title>
<link rel="stylesheet" href="dist/elixir-9f91ebe876dc01d67920.css" />
<script src="dist/sidebar_items-86ebe4f0ec.js"></script>
@ -52,7 +52,7 @@
Mirage
</a>
<strong class="sidebar-projectVersion">
v0.70.1
v0.72.1
<