All checks were successful
		
		
	
	mapguesser/pipeline/pr-develop This commit looks good
				
			
		
			
				
	
	
		
			21 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
@extends(templates/layout_normal)
 | 
						|
 | 
						|
@section(main)
 | 
						|
    <h2>Reset password</h2>
 | 
						|
    <div class="box">
 | 
						|
        <?php if ($success) : ?>
 | 
						|
            <form id="resetPasswordForm" action="/password/reset/<?= $token ?>" method="post" data-redirect-on-success="<?= $redirectUrl ?>">
 | 
						|
                <input type="email" class="text big fullWidth" name="email" placeholder="Email address" autocomplete="username" value="<?= $email ?>" disabled>
 | 
						|
                <input type="password" class="text big fullWidth marginTop" name="password" placeholder="Password" autocomplete="new-password" required minlength="6" autofocus>
 | 
						|
                <input type="password" class="text big fullWidth marginTop" name="password_confirm" placeholder="Password confirmation" autocomplete="new-password" required minlength="6">
 | 
						|
                <p id="resetPasswordFormError" class="formError justify marginTop"></p>
 | 
						|
                <div class="right">
 | 
						|
                    <button class="marginTop" type="submit">Reset password</button>
 | 
						|
                </div>
 | 
						|
            </form>
 | 
						|
        <?php else: ?>
 | 
						|
            <p class="error justify">Confirming your identity failed. Please check the link you entered, or retry <a href="/password/requestReset" title="Request password reset">requesting password reset</a>!</p>
 | 
						|
        <?php endif; ?>
 | 
						|
    </div>
 | 
						|
@endsection
 |