Skip to content

how to hash the password via CLI #1133

Closed Answered by the-djmaze
msimerson asked this question in Q&A
Discussion options

You must be logged in to vote
<?php
$_ENV['SNAPPYMAIL_INCLUDE_AS_API'] = true;
require_once '/var/lib/snappymail/index.php';

$oConfig = \RainLoop\Api::Config();
$oConfig->SetPassword('mypassword input from somewhere');

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@msimerson
Comment options

@the-djmaze
Comment options

Answer selected by msimerson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants