mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-21 04:50:55 +01:00
6e41016077
Summary: Fixes T2230. This isn't a total walk in the park to configure, but should work for early adopters now. Test Plan: Read documentation, browsed UI. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T2230 Differential Revision: https://secure.phabricator.com/D7634
14 lines
279 B
Bash
Executable file
14 lines
279 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# NOTE: Replace this with the username that you expect users to connect with.
|
|
VCSUSER="vcs-user"
|
|
|
|
# NOTE: Replace this with the path to your Phabricator directory.
|
|
ROOT="/path/to/phabricator"
|
|
|
|
if [ "$1" -ne "$VCSUSER" ];
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
exec "$ROOT/bin/ssh-auth" $@
|