mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-04 07:33:53 +01:00 
			
		
		
		
	implemented different secret and password for each instances
This commit is contained in:
		
							
								
								
									
										56
									
								
								Flask/templates/change_password.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										56
									
								
								Flask/templates/change_password.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,56 @@
 | 
			
		||||
{% extends "base.html" %}
 | 
			
		||||
{% block left_pannel %}
 | 
			
		||||
 | 
			
		||||
<table>
 | 
			
		||||
    <tr>
 | 
			
		||||
        <td>
 | 
			
		||||
            <button class="unselected" onclick="location.href = '/override';">override</button>
 | 
			
		||||
        </td>
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
        <td>
 | 
			
		||||
            <button class="unselected" onclick="location.href = '/accounts';">accounts</button>
 | 
			
		||||
        </td>  
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
        <td>
 | 
			
		||||
            <button class="unselected" onclick="location.href = '/discord';">discord</button>
 | 
			
		||||
        </td>
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
        <td>
 | 
			
		||||
            <button class="unselected" onclick="location.href = '/database';">database</button>
 | 
			
		||||
        </td>
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
        <td>
 | 
			
		||||
            <button class="unselected" onclick="location.href = '/proxy';">proxy</button>
 | 
			
		||||
        </td>  
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
        <td>
 | 
			
		||||
            <button class="unselected" onclick="location.href = '/settings';">settings</button>
 | 
			
		||||
        </td>
 | 
			
		||||
    </tr>
 | 
			
		||||
</table>
 | 
			
		||||
{% endblock %}
 | 
			
		||||
{% block content %}
 | 
			
		||||
 | 
			
		||||
{%if not current_user.is_authenticated %}
 | 
			
		||||
    <h1>Already logged in</h1>
 | 
			
		||||
{% else %}
 | 
			
		||||
    
 | 
			
		||||
    <form method="post" action="/change_password/">
 | 
			
		||||
        <table>
 | 
			
		||||
            <tr>
 | 
			
		||||
                <td class="comlumn-name">Change password</td>
 | 
			
		||||
                <td><input type="text" name="password"></td>
 | 
			
		||||
            </tr>
 | 
			
		||||
            <tr>
 | 
			
		||||
                <td></td>
 | 
			
		||||
                <td><input type="submit"  name="NewPassword" value="send" class="button"/></td>
 | 
			
		||||
            </tr>
 | 
			
		||||
        </table>
 | 
			
		||||
    </form>
 | 
			
		||||
{% endif %}
 | 
			
		||||
{% endblock %}
 | 
			
		||||
		Reference in New Issue
	
	Block a user