Change the Stash login screen

What is the recomended way to add a message to the login screen for stash?

The purpose of the message is to remind users of their obligations and warm them of what the penalties are for misuse.

2 answers

0 votes
Daniel Wester Community Champion Jun 17, 2014

You might be able to write a plugin if you want to get your hands dirty with java and javascript. (In theory you should be able to identify the login screen).

Another alternative would be to look at something like Announcer for Stash (disclaimer: I'm one of the developers behind it). https://marketplace.atlassian.com/plugins/com.wittified.atl-announcer-stash

Announcer is pretty cool, however, our requirement is for the message to be there every time.

A new plug-in might be the way we have to go, or maybe editing a JSP page.

I've been able to edit the soy template in install/atlassian-stash/static/page/login/login.soy which got me the result I wanted but it is far from a preferred solution.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Thursday in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

....sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables ROLLBAR_ACCESS_TOKEN...

162 views 0 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you