mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 21:11:30 +08:00 
			
		
		
		
	add a warning to change password dialog, fixes #1344
This commit is contained in:
		
							parent
							
								
									b898973ee6
								
							
						
					
					
						commit
						2bc06959c3
					
				
							
								
								
									
										21
									
								
								.idea/codeStyles/Project.xml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										21
									
								
								.idea/codeStyles/Project.xml
									
									
									
										generated
									
									
									
								
							| @ -6,26 +6,11 @@ | |||||||
|         <option name="TAB_SIZE" value="2" /> |         <option name="TAB_SIZE" value="2" /> | ||||||
|       </value> |       </value> | ||||||
|     </option> |     </option> | ||||||
|  |     <H2CodeStyleSettings version="5"> | ||||||
|  |       <option name="USE_GENERAL_STYLE" value="false" /> | ||||||
|  |     </H2CodeStyleSettings> | ||||||
|     <JSCodeStyleSettings version="0"> |     <JSCodeStyleSettings version="0"> | ||||||
|       <option name="USE_EXPLICIT_JS_EXTENSION" value="TRUE" /> |       <option name="USE_EXPLICIT_JS_EXTENSION" value="TRUE" /> | ||||||
|     </JSCodeStyleSettings> |     </JSCodeStyleSettings> | ||||||
|     <JetCodeStyleSettings> |  | ||||||
|       <option name="PACKAGES_TO_USE_STAR_IMPORTS"> |  | ||||||
|         <value> |  | ||||||
|           <package name="java.util" alias="false" withSubpackages="false" /> |  | ||||||
|           <package name="kotlinx.android.synthetic" alias="false" withSubpackages="true" /> |  | ||||||
|           <package name="io.ktor" alias="false" withSubpackages="true" /> |  | ||||||
|         </value> |  | ||||||
|       </option> |  | ||||||
|       <option name="PACKAGES_IMPORT_LAYOUT"> |  | ||||||
|         <value> |  | ||||||
|           <package name="" alias="false" withSubpackages="true" /> |  | ||||||
|           <package name="java" alias="false" withSubpackages="true" /> |  | ||||||
|           <package name="javax" alias="false" withSubpackages="true" /> |  | ||||||
|           <package name="kotlin" alias="false" withSubpackages="true" /> |  | ||||||
|           <package name="" alias="true" withSubpackages="true" /> |  | ||||||
|         </value> |  | ||||||
|       </option> |  | ||||||
|     </JetCodeStyleSettings> |  | ||||||
|   </code_scheme> |   </code_scheme> | ||||||
| </component> | </component> | ||||||
| @ -8,6 +8,11 @@ const TPL = ` | |||||||
| <p>Your username is <strong id="credentials-username"></strong>.</p> | <p>Your username is <strong id="credentials-username"></strong>.</p> | ||||||
| 
 | 
 | ||||||
| <h3>Change password</h3> | <h3>Change password</h3> | ||||||
|  | 
 | ||||||
|  | <div class="alert alert-warning" role="alert" style="font-weight: bold; color: red !important;"> | ||||||
|  |   Please take care to remember your new password. Password is used to encrypt protected notes. If you forget your password, then all your protected notes are forever lost with no recovery options. | ||||||
|  | </div> | ||||||
|  | 
 | ||||||
| <form id="change-password-form"> | <form id="change-password-form"> | ||||||
|     <div class="form-group"> |     <div class="form-group"> | ||||||
|         <label for="old-password">Old password</label> |         <label for="old-password">Old password</label> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 zadam
						zadam