mirror of
https://github.com/drogonframework/drogon.git
synced 2025-08-29 00:02:44 -04:00
Fix typos (#899)
This commit is contained in:
parent
cd46b4a488
commit
6a882841f1
8
.gitignore
vendored
8
.gitignore
vendored
@ -31,9 +31,9 @@
|
||||
*.out
|
||||
*.app
|
||||
|
||||
build
|
||||
cmake-build-debug
|
||||
.idea
|
||||
build/
|
||||
cmake-build-debug/
|
||||
.idea/
|
||||
lib/inc/drogon/version.h
|
||||
html/
|
||||
latex/
|
||||
@ -46,4 +46,4 @@ latex/
|
||||
CMakeSettings.json
|
||||
install
|
||||
trace.json
|
||||
.cache
|
||||
.cache/
|
@ -384,7 +384,7 @@ if (pg_FOUND OR MySQL_FOUND OR SQLite3_FOUND)
|
||||
if (MySQL_FOUND)
|
||||
option(USE_MYSQL "Enable Mysql" ON)
|
||||
else (MySQL_FOUND)
|
||||
option(USE_MYSQL "DisableMysql" OFF)
|
||||
option(USE_MYSQL "Disable Mysql" OFF)
|
||||
endif (MySQL_FOUND)
|
||||
|
||||
if (SQLite3_FOUND)
|
||||
|
@ -32,7 +32,7 @@ int main()
|
||||
},
|
||||
{Get});
|
||||
|
||||
// You can aslo specsify that the parameter is in the query section of the
|
||||
// You can aslo specify that the parameter is in the query section of the
|
||||
// URL!
|
||||
app().registerHandler(
|
||||
"/hello?user={user-name}",
|
||||
|
@ -39,7 +39,7 @@ int main()
|
||||
std::string passwd = req->getParameter("passwd");
|
||||
|
||||
// NOTE: Do not, ever, use MD5 for password hash. We only use it
|
||||
// because Drogon is not a cryptography library, so deosn't come
|
||||
// because Drogon is not a cryptography library, so doesn't come
|
||||
// with a better hash. Use Argon2 or BCrypt in a real product.
|
||||
// username: user, pasword: password123
|
||||
if (user == "user" && utils::getMd5("jadsjhdsajkh" + passwd) ==
|
||||
|
Loading…
x
Reference in New Issue
Block a user