feat(script): add reset-password script
This commit is contained in:
parent
372a76f485
commit
1bcf19322a
2 changed files with 16 additions and 2 deletions
12
scripts/reset-password.sh
Executable file
12
scripts/reset-password.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
source "${BASH_SOURCE%/*}/common.sh"
|
||||
|
||||
ensure_pwd
|
||||
|
||||
ROOT_FOLDER="$(pwd)"
|
||||
STATE_FOLDER="${ROOT_FOLDER}/state"
|
||||
|
||||
# Create file request-password-change in state folder
|
||||
touch "${STATE_FOLDER}/password-change-request"
|
|
@ -58,8 +58,10 @@ export const Layout: React.FC<IProps> = ({ children, breadcrumbs, title, actions
|
|||
|
||||
return (
|
||||
<div data-testid={`${title?.toLowerCase().split(' ').join('-')}-layout`} className="page">
|
||||
<Head>{/* <title>{title} - Tipi</title> */}</Head>
|
||||
{/* <ReactTooltip offset={{ right: 1 }} effect="solid" place="bottom" /> */}
|
||||
<Head>
|
||||
<title>{`${title} - Tipi`}</title>
|
||||
</Head>
|
||||
<ReactTooltip offset={{ right: 1 }} effect="solid" place="bottom" />
|
||||
<Header isUpdateAvailable={!isLatest} />
|
||||
<div className="page-wrapper">
|
||||
<div className="page-header d-print-none">
|
||||
|
|
Loading…
Add table
Reference in a new issue