summaryrefslogtreecommitdiff
path: root/lib/trocla/formats/sha512crypt.rb
diff options
context:
space:
mode:
authoricy <kyanh@viettug.org>2012-05-09 17:33:07 +0700
committermh <mh@immerda.ch>2012-12-30 14:42:00 +0100
commit506ee7c16e3d7689a78db6b3ed31f6e93b96cd69 (patch)
treef50363b95f7f3be258209f6b5523693f68024684 /lib/trocla/formats/sha512crypt.rb
parentadf8ab5c90fbb5579d231b81a20fe87b33c36f0a (diff)
check if format is valid before creating/seting/...
as the old code only checks if the format name is empty, we can set any kind of key/value in the database. for example, this command will work without any error reported: trocla set someuser strange_format I replace the method miss_format by check_format that should be invoked before any thing related to format.
Diffstat (limited to 'lib/trocla/formats/sha512crypt.rb')
0 files changed, 0 insertions, 0 deletions