From 17a5cdaa2d1d5046cbf02ed182fc2565c5b044f6 Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Fri, 10 Mar 2017 00:29:27 +0100 Subject: [PATCH] TT#12601 New column to store salted bcrypt hash Change-Id: I55e12b1f0e8782759c311ad6a7f880d80858643a --- lib/NGCP/Schema/Result/admins.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/NGCP/Schema/Result/admins.pm b/lib/NGCP/Schema/Result/admins.pm index 306a824c..53065850 100644 --- a/lib/NGCP/Schema/Result/admins.pm +++ b/lib/NGCP/Schema/Result/admins.pm @@ -35,6 +35,8 @@ __PACKAGE__->add_columns( encode_args => {algorithm => 'MD5', format => 'hex'}, encode_check_method => 'check_password', }, + "saltedpass", + { data_type => "char", size => 54, is_nullable => 1 }, "is_master", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "is_superuser",