mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Fix various spelling errors in back-end code (#25241)
* Chore: Fix various spelling errors in back-end code Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com> Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>>
This commit is contained in:
@@ -453,7 +453,7 @@ func (server *Server) AdminBind() error {
|
||||
err := server.userBind(server.Config.BindDN, server.Config.BindPassword)
|
||||
if err != nil {
|
||||
server.log.Error(
|
||||
"Cannot authentificate admin user in LDAP",
|
||||
"Cannot authenticate admin user in LDAP",
|
||||
"error",
|
||||
err,
|
||||
)
|
||||
|
||||
@@ -121,7 +121,7 @@ func TestLDAPLogin(t *testing.T) {
|
||||
So(resp.Login, ShouldEqual, "markelog")
|
||||
})
|
||||
|
||||
Convey("Should perform unauthentificate bind without admin", func() {
|
||||
Convey("Should perform unauthenticated bind without admin", func() {
|
||||
connection := &MockConnection{}
|
||||
entry := ldap.Entry{
|
||||
DN: "test",
|
||||
@@ -147,7 +147,7 @@ func TestLDAPLogin(t *testing.T) {
|
||||
So(connection.UnauthenticatedBindCalled, ShouldBeTrue)
|
||||
})
|
||||
|
||||
Convey("Should perform authentificate binds", func() {
|
||||
Convey("Should perform authenticated binds", func() {
|
||||
connection := &MockConnection{}
|
||||
entry := ldap.Entry{
|
||||
DN: "test",
|
||||
|
||||
Reference in New Issue
Block a user