aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-05-28 18:20:50 -0400
committerPaul Duncan <pabs@pablotron.org>2016-05-28 18:20:50 -0400
commit73681b9e1f21bb0c8fbf7f231523f57bd96f6cb3 (patch)
tree37bc301078500ef41ecd83dbdc4614b243d58ca1 /src
parent80add8aac0893006a5434b59e60c463f59a5de05 (diff)
downloadguff-73681b9e1f21bb0c8fbf7f231523f57bd96f6cb3.tar.bz2
guff-73681b9e1f21bb0c8fbf7f231523f57bd96f6cb3.zip
remove unused gen_password call
Diffstat (limited to 'src')
-rw-r--r--src/guff.cr6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/guff.cr b/src/guff.cr
index edd5522..bb46980 100644
--- a/src/guff.cr
+++ b/src/guff.cr
@@ -2910,12 +2910,6 @@ module Guff
db.last_insert_row_id.to_i64
end
- # generate random password
- private def gen_password
- # STDERR.puts "DEBUG: generating random password"
- SecureRandom.base64(6 + rand(6)).strip.gsub(/\=+$/, "")
- end
-
TEST_DATA_SQL = [%{
INSERT INTO posts (
post_id,