Remove debug output
[slists.git] / set_hashed_passwords.pl
blob1428f675d2338c9915a9a41307ceb0a0ef26f615
1 #!/usr/bin/perl
3 use strict;
4 use warnings;
6 use Slists::Schema;
8 my $schema = Slists::Schema->connect('dbi:SQLite:slists.db');
10 my @users = $schema->resultset('User')->all;
12 foreach my $user (@users) {
13 $user->password('mypass');
14 $user->update;