This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<saram> | |
<database> | |
<node>mysql://test:testtest@localhost/test</node> | |
</database> | |
<module> | |
<module name='elab.user' mid='user' path='users'> | |
<module name='elab.keyvalue' mid='data' path='data'> | |
<config> | |
"name":"user_data", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function check_password(pwd) { | |
// Copyright (c) 2015 Lee Sahghyuck <shlee322@elab.kr> | |
// MIT License (http://opensource.org/licenses/mit-license.php) | |
// Author : Lee Sahghyuck <shlee322@elab.kr> | |
// Date : 2015.02.17 | |
var char_type = 0; | |
if (/[a-z]/.test(pwd)) char_type = char_type + 1; | |
if (/[A-Z]/.test(pwd)) char_type = char_type + 1; | |
if (/[0-9]/.test(pwd)) char_type = char_type + 1; |