master
Philippe PITTOLI 2024-04-16 23:06:58 +02:00
parent 9dfbc12e80
commit f5b063bdf3
4 changed files with 6 additions and 6 deletions

View File

@ -551,8 +551,7 @@ handleAction = case _ of
{ current_page } <- H.get { current_page } <- H.get
case current_page of case current_page of
Administration -> handleAction $ DispatchAuthDaemonMessage m Administration -> handleAction $ DispatchAuthDaemonMessage m
_ -> handleAction $ Log $ ErrorLog _ -> pure unit
"received a GotUserDeleted message while not on authd admin page."
(AuthD.GotErrorMustBeAuthenticated _) -> do (AuthD.GotErrorMustBeAuthenticated _) -> do
handleAction $ Log $ ErrorLog "received a GotErrorMustBeAuthenticated message." handleAction $ Log $ ErrorLog "received a GotErrorMustBeAuthenticated message."
handleAction $ AddNotif $ BadNotification "Sorry, you must be authenticated to perform this action." handleAction $ AddNotif $ BadNotification "Sorry, you must be authenticated to perform this action."

View File

@ -116,7 +116,7 @@ show_error_ip6 e = case e of
IPAddress.IP6NotEnoughChunks -> IPAddress.IP6NotEnoughChunks ->
Bulma.p """ Bulma.p """
The IPv6 representation is erroneous, it should contain 8 groups of hexadecimal characters or The IPv6 representation is erroneous, it should contain 8 groups of hexadecimal characters or
being shortened with a double ':' character, such as '2000::1'. being shortened with a double ':' character, such as "2000::1".
""" """
IPAddress.IP6TooManyChunks -> IPAddress.IP6TooManyChunks ->
Bulma.p "The IPv6 representation is erroneous. It should contain only up to 8 groups of hexadecimal characters." Bulma.p "The IPv6 representation is erroneous. It should contain only up to 8 groups of hexadecimal characters."

View File

@ -536,7 +536,7 @@ render state
DKIM_hash_algo DKIM_hash_algo
(map show DKIM.hash_algos) (map show DKIM.hash_algos)
(show $ fromMaybe DKIM.SHA256 state.dkim.h) (show $ fromMaybe DKIM.SHA256 state.dkim.h)
, Bulma.box_input "pkDKIM" "Public Key" "Your public key, such as 'MIIBIjANBgqh...'" DKIM_pubkey state.dkim.p , Bulma.box_input "pkDKIM" "Public Key" "Your public key, such as \"MIIBIjANBgqh...\"" DKIM_pubkey state.dkim.p
, Bulma.box_input "noteDKIM" "Note" "Note for fellow administrators." DKIM_note (fromMaybe "" state.dkim.n) , Bulma.box_input "noteDKIM" "Note" "Note for fellow administrators." DKIM_note (fromMaybe "" state.dkim.n)
] ]

View File

@ -287,7 +287,8 @@ spf_introduction =
[ HH.u_ [HH.text "Advice for beginners"] [ HH.u_ [HH.text "Advice for beginners"]
, HH.text """ , HH.text """
: default values should work great with simple domains. : default values should work great with simple domains.
Make sure to have an MX record, which should be pointing to an A or AAAA record, and that will do it. 🥳 Don't change anything, just click on the "Add" button below.
In addition, make sure to have an MX record, which should be pointing to an A or AAAA record, and that will do it. 🥳
""" """
] ]
] ]
@ -297,7 +298,7 @@ spf_default_behavior = [Bulma.p """
What should someone do when receiving a mail with your email address but not from a listed domain or IP address? What should someone do when receiving a mail with your email address but not from a listed domain or IP address?
""" """
, HH.text """ , HH.text """
By default, let's advise to drop the mail (a By default, let's opt for dropping the mail (a
""" """
, HH.u_ [HH.text "hard fail"] , HH.u_ [HH.text "hard fail"]
, HH.text """). , HH.text """).