| 
									
										
										
										
											2017-04-16 02:05:18 -06:00
										 |  |  | <?php | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-12-16 13:27:09 -07:00
										 |  |  | /* This Source Code Form is subject to the terms of the Mozilla Public | 
					
						
							|  |  |  |  * License, v. 2.0. If a copy of the MPL was not distributed with this | 
					
						
							|  |  |  |  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-04-16 02:05:18 -06:00
										 |  |  | define("MESSAGES", [ | 
					
						
							|  |  |  |     "old_password_mismatch" => [ | 
					
						
							|  |  |  |         "string" => "current password incorrect", | 
					
						
							|  |  |  |         "type" => "danger" | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     "new_password_mismatch" => [ | 
					
						
							|  |  |  |         "string" => "new password mismatch", | 
					
						
							|  |  |  |         "type" => "danger" | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     "weak_password" => [ | 
					
						
							|  |  |  |         "string" => "weak password", | 
					
						
							|  |  |  |         "type" => "danger" | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     "password_updated" => [ | 
					
						
							|  |  |  |         "string" => "password updated", | 
					
						
							|  |  |  |         "type" => "success" | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     "2fa_removed" => [ | 
					
						
							|  |  |  |         "string" => "2fa removed", | 
					
						
							|  |  |  |         "type" => "success" | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     "2fa_enabled" => [ | 
					
						
							|  |  |  |         "string" => "2fa enabled", | 
					
						
							|  |  |  |         "type" => "success" | 
					
						
							|  |  |  |     ], | 
					
						
							| 
									
										
										
										
											2017-12-09 22:18:04 -07:00
										 |  |  |     "2fa_wrong_code" => [ | 
					
						
							|  |  |  |         "string" => "2fa incorrect", | 
					
						
							|  |  |  |         "type" => "danger" | 
					
						
							|  |  |  |     ], | 
					
						
							| 
									
										
										
										
											2017-04-16 02:05:18 -06:00
										 |  |  |     "invalid_parameters" => [ | 
					
						
							|  |  |  |         "string" => "invalid parameters", | 
					
						
							|  |  |  |         "type" => "danger" | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     "password_500" => [ | 
					
						
							|  |  |  |         "string" => "password on 500 list", | 
					
						
							|  |  |  |         "type" => "danger" | 
					
						
							| 
									
										
										
										
											2017-04-29 02:35:49 -06:00
										 |  |  |     ], | 
					
						
							|  |  |  |     "account_state_error" => [ | 
					
						
							|  |  |  |         "string" => "account state error", | 
					
						
							|  |  |  |         "type" => "danger" | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     "ldap_error" => [ | 
					
						
							|  |  |  |         "string" => "ldap server error", | 
					
						
							|  |  |  |         "type" => "danger" | 
					
						
							| 
									
										
										
										
											2017-05-06 23:19:22 -06:00
										 |  |  |     ], | 
					
						
							|  |  |  |     "passwords_same" => [ | 
					
						
							|  |  |  |         "string" => "old and new passwords match", | 
					
						
							|  |  |  |         "type" => "danger" | 
					
						
							| 
									
										
										
										
											2017-05-13 16:17:58 -06:00
										 |  |  |     ], | 
					
						
							|  |  |  |     "password_complexity" => [ | 
					
						
							|  |  |  |         "string" => "password complexity insufficent", | 
					
						
							|  |  |  |         "type" => "danger" | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     "generic_op_error" => [ | 
					
						
							|  |  |  |         "string" => "generic op error", | 
					
						
							|  |  |  |         "type" => "danger" | 
					
						
							| 
									
										
										
										
											2017-12-30 14:29:20 -07:00
										 |  |  |     ], | 
					
						
							|  |  |  |     "pin_updated" => [ | 
					
						
							|  |  |  |         "string" => "pin updated", | 
					
						
							|  |  |  |         "type" => "success" | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     "new_pin_mismatch" => [ | 
					
						
							|  |  |  |         "string" => "new pin mismatch", | 
					
						
							|  |  |  |         "type" => "danger" | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     "invalid_pin_format" => [ | 
					
						
							|  |  |  |         "string" => "invalid pin format", | 
					
						
							|  |  |  |         "type" => "danger" | 
					
						
							| 
									
										
										
										
											2017-04-16 02:05:18 -06:00
										 |  |  |     ] | 
					
						
							| 
									
										
										
										
											2017-12-30 14:29:20 -07:00
										 |  |  |      | 
					
						
							| 
									
										
										
										
											2017-04-16 02:05:18 -06:00
										 |  |  | ]); |